diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-08-11 01:55:59 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-09-23 16:42:51 +0200 |
commit | c8020a67e625c714c4dbedc8ae2944b461e204ec (patch) | |
tree | 12ad0e02b6e30dffd8c7e2b24cdb278a6b799ad4 /security/keys | |
parent | rcu: Avoid rcu_print_detail_task_stall_rnp() segfault (diff) | |
download | linux-c8020a67e625c714c4dbedc8ae2944b461e204ec.tar.xz linux-c8020a67e625c714c4dbedc8ae2944b461e204ec.zip |
rcu: Protect rcu_node accesses during CPU stall warnings
The print_other_cpu_stall() function accesses a number of rcu_node
fields without protection from the ->lock. In theory, this is not
a problem because the fields accessed are all integers, but in
practice the compiler can get nasty. Therefore, the commit extends
the existing critical section to cover the entire loop body.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions