diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-01-10 17:24:53 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 08:49:47 -0800 |
commit | a9c828155ae8d1a1576f9648cc4d9677aea53f89 (patch) | |
tree | 7b087188579ff897332a767af1ff695ab5bc116f /arch/mips/kernel | |
parent | 69a0b3157983925f14fe0bdc49622d5389538d8d (diff) | |
download | blackbird-op-linux-a9c828155ae8d1a1576f9648cc4d9677aea53f89.tar.gz blackbird-op-linux-a9c828155ae8d1a1576f9648cc4d9677aea53f89.zip |
[PATCH] rcu: fix hotplug-cpu ->donelist leak
Pointed out by Srivatsa Vaddagiri <vatsa@in.ibm.com>.
rcu_do_batch() stops after processing maxbatch callbacks
on ->donelist leaving rcu_tasklet in TASKLET_STATE_SCHED
state.
If CPU_DEAD event happens remaining ->donelist entries are
lost, rcu_offline_cpu() kills this tasklet.
With this patch ->donelist migrates along with ->curlist
and ->nxtlist to the current cpu.
Compile tested.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Paul E. McKenney <paulmck@us.ibm.com>
Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com>
Cc: Dipankar Sarma <dipankar@in.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions