From: Paul E. McKenney Date: Wed, 5 Sep 2012 00:35:31 +0000 (-0700) Subject: rcu: Apply micro-optimization and int/bool fixes to RCU's idle handling X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~101^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb349ca95407cbc11424d5e9fc7c8e700709041b;p=pandora-kernel.git rcu: Apply micro-optimization and int/bool fixes to RCU's idle handling Checking "user" before "is_idle_task()" allows better optimizations in cases where inlining is possible. Also, "bool" should be passed "true" or "false" rather than "1" or "0". This commit therefore makes these changes, as noted in Josh's review. Reported-by: Josh Triplett Signed-off-by: Paul E. McKenney Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- Reading git-diff-tree failed