| commit | 12c8e76120c41c09d20ec0b187e10c5db967a073 | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Nov 29 11:06:05 2016 -0800 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Nov 29 23:05:37 2016 -0800 |
| tree | f30d11d718f3abb167bcfd8b2108df0de0743a63 | |
| parent | d3df9bc5fb5d838b049f32a476721eadbc349553 [diff] |
rcu: Allow boot-time use of cond_resched_rcu_qs() The cond_resched_rcu_qs() macro is used to force RCU quiescent states into long-running in-kernel loops. However, some of these loops can execute during early boot when interrupts are disabled, and during which time it is therefore illegal to enter the scheduler. This commit therefore makes cond_resched_rcu_qs() be a no-op during early boot. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>