diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-06-24 19:15:02 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-07-02 21:34:43 +0200 |
commit | 9d2ad24306f2fafc3612e5a216aab31f9e56e879 (patch) | |
tree | 6ced8145e842e29aaedda3d9453c74b6f0c92b4f /kernel/rcutiny_plugin.h | |
parent | rcu: Fix qlen_lazy breakage (diff) | |
download | linux-9d2ad24306f2fafc3612e5a216aab31f9e56e879.tar.xz linux-9d2ad24306f2fafc3612e5a216aab31f9e56e879.zip |
rcu: Make RCU_FAST_NO_HZ respect nohz= boot parameter
If the nohz= boot parameter disables nohz, then RCU_FAST_NO_HZ needs to
also disable itself. This commit therefore checks for tick_nohz_enabled
being zero, disabling rcu_prepare_for_idle() if so. This commit assumes
that tick_nohz_enabled can change at runtime: If this is not the case,
then a simpler approach suffices.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutiny_plugin.h')
0 files changed, 0 insertions, 0 deletions