commit | c8020a67e625c714c4dbedc8ae2944b461e204ec | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Fri Aug 10 16:55:59 2012 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun Sep 23 07:42:51 2012 -0700 |
tree | 12ad0e02b6e30dffd8c7e2b24cdb278a6b799ad4 | |
parent | 5fd4dc068c4ded1339180dbcd1a99e15b1c0a728 [diff] |
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>