summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2026-07-16 12:53:56 -0700
committerPaul E. McKenney <paulmck@kernel.org>2026-07-24 16:58:56 -0700
commitd2282f9bc75ca39a8ea5b7fe87191609985aca30 (patch)
tree6b8ee0618937a2dcba04a1fdbe437a2532a0601a /scripts/stackusage
parentd972d106965f16348f2c44035440f4926a5880d3 (diff)
downloadlinux-d2282f9bc75ca39a8ea5b7fe87191609985aca30.tar.gz
linux-d2282f9bc75ca39a8ea5b7fe87191609985aca30.zip
rcu: Use this_cpu_{read,write}() for ->cpu_no_qs.b.exp
Currently __this_cpu_read() and __this_cpu_write() is used to access the ->cpu_no_qs.b.exp field of the per-CPU rcu_data structure. However, this can fail when the accesses can happen in interrupt handlers, as recently started being exercised by rcutorture. This commit therefore upgrades the uses of __this_cpu_read() and __this_cpu_write() to their interrupt-safe counterparts this_cpu_read() and this_cpu_write(). 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