diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2008-02-28 11:51:07 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-29 20:21:13 +0100 |
commit | c9e71002aacc9821e99531dcc130db88bbc8ad05 (patch) | |
tree | 2446b59e33eccc53ff8a04179588296bc43c0f0f /arch | |
parent | ae778869ae4549628b9e83efe958c3aaa63ed1b9 (diff) | |
download | linux-stable-c9e71002aacc9821e99531dcc130db88bbc8ad05.tar.gz linux-stable-c9e71002aacc9821e99531dcc130db88bbc8ad05.tar.bz2 linux-stable-c9e71002aacc9821e99531dcc130db88bbc8ad05.zip |
rcupreempt: remove never-migrates assumption from rcu_process_callbacks()
This patch fixes a potentially invalid access to a per-CPU variable in
rcu_process_callbacks().
This per-CPU access needs to be done in such a way as to guarantee that
the code using it cannot move to some other CPU before all uses of the
value accessed have completed. Even though this code is currently only
invoked from softirq context, which currrently cannot migrate to some
other CPU, life would be better if this code did not silently make such
an assumption.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions