commit | 8f20a5e83d2c5d0e126a2fc9bca67f7430dac907 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Aug 05 05:10:24 2014 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun Sep 07 16:27:31 2014 -0700 |
tree | 48333b2fd0773d384e5e907401812645fc9575b2 | |
parent | 176f8f7a52cc6d09d686f0d900abda6942a52fbb [diff] |
rcu: Make rcu_tasks_kthread()'s GP-wait loop allow preemption The grace-period-wait loop in rcu_tasks_kthread() is under (unnecessary) RCU protection, and therefore has no preemption points in a PREEMPT=n kernel. This commit therefore removes the RCU protection and inserts cond_resched(). Reported-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>