commit | fec8ae5da6ba31fec481d3805999b37bff0eee9c | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Aug 05 05:23:35 2014 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Aug 05 05:23:35 2014 -0700 |
tree | 9e89f8f737a066218565f2bd89372cc8ceeeed58 | |
parent | e20415e629e43854bd3cbbb8f165b4e082f90bbc [diff] |
rcu: Remove redundant preempt_disable() from rcu_note_voluntary_context_switch() In theory, synchronize_sched() requires a read-side critical section to order against. In practice, preemption can be thought of as being disabled across every machine instruction. So this commit removes the redundant preempt_disable() from rcu_note_voluntary_context_switch(). Reported-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>