From: Paul E. McKenney Date: Sun, 24 Jun 2012 17:15:02 +0000 (-0700) Subject: rcu: Make RCU_FAST_NO_HZ respect nohz= boot parameter X-Git-Tag: v3.6-rc1~168^2^2~2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d2ad24306f2fafc3612e5a216aab31f9e56e879;p=pandora-kernel.git 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 Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed