diff options
author | Srivatsa Vaddagiri <vatsa@in.ibm.com> | 2005-12-12 09:37:07 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-12 17:57:42 +0100 |
commit | c3f5902325d3053986e7359f706581d8f032e72f (patch) | |
tree | 1d56b7626b83556982eafad69c597b180c2ef62b /kernel/itimer.c | |
parent | [PATCH] Fix bug in RCU torture test (diff) | |
download | linux-c3f5902325d3053986e7359f706581d8f032e72f.tar.xz linux-c3f5902325d3053986e7359f706581d8f032e72f.zip |
[PATCH] Fix RCU race in access of nohz_cpu_mask
Accessing nohz_cpu_mask before incrementing rcp->cur is racy. It can cause
tickless idle CPUs to be included in rsp->cpumask, which will extend
graceperiods unnecessarily.
Fix this race. It has been tested using extensions to RCU torture module
that forces various CPUs to become idle.
Signed-off-by: Srivatsa Vaddagiri <vatsa@in.ibm.com>
Cc: Dipankar Sarma <dipankar@in.ibm.com>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/itimer.c')
0 files changed, 0 insertions, 0 deletions