summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2026-07-21 21:03:06 -0700
committerPaul E. McKenney <paulmck@kernel.org>2026-07-30 11:21:14 -0700
commit8fe479568cddbe7f2023069a539d4040e05f3f87 (patch)
treec810a39fc151f1257aff1b2ea5f657d20df3bc2b /scripts/stackusage
parent2aaee3fc84e10c5949e24a8778414ade2db44a55 (diff)
downloadlinux-8fe479568cddbe7f2023069a539d4040e05f3f87.tar.gz
linux-8fe479568cddbe7f2023069a539d4040e05f3f87.zip
rcu: Mark interrupts-enabled accesses to rdp->cpu_no_qs.b.norm
The rdp->cpu_no_qs.b.norm field is accessed only by the current CPU, but can be accessed both at task level and from interrupt handlers. All accesses from interrupts-enabled code must therefore be marked. This commit therefore converts from __this_cpu_read() to this_cpu_read(), from __this_cpu_write() to this_cpu_write(), and plain C-language accesses to READ_ONCE() and WRITE_ONCE(), but only in interrupts-enabled code. KCSAN located this issue. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions