]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: Drop misleading comments about RCU usage
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 22 Sep 2020 09:15:50 +0000 (11:15 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Sep 2020 17:32:03 +0000 (19:32 +0200)
commit3a447cfc098721fba7968172fbd2734536f8ab0f
tree9c381180083b902042cb2e059d979490d3373f34
parentee53cac7f9a9035c8d7a9bccca2e836a805377eb
cpuidle: Drop misleading comments about RCU usage

The commit 851764809860 ("sched,idle,rcu: Push rcu_idle deeper into the
idle path"), moved the calls rcu_idle_enter|exit() into the cpuidle core.

However, it forgot to remove a couple of comments in enter_s2idle_proper()
about why RCU_NONIDLE earlier was needed. So, let's drop them as they have
become a bit misleading.

Fixes: 851764809860 ("sched,idle,rcu: Push rcu_idle deeper into the idle path")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle.c