From: Srivatsa S. Bhat Date: Sat, 9 Feb 2013 00:11:29 +0000 (-0800) Subject: rcu: Remove comment referring to __stop_machine() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0bdf5984ad647ba5d1c09ed66a75e5bf609456ba;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git rcu: Remove comment referring to __stop_machine() Although it used to be that CPU_DYING notifiers executed on the outgoing CPU with interrupts disabled and with all other CPUs spinning, this is no longer the case. This commit therefore removes this obsolete comment. Signed-off-by: Srivatsa S. Bhat Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcutree.c b/kernel/rcutree.c index b2fc234ba1b9..71df6f9f5ce6 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -2931,11 +2931,6 @@ static int __cpuinit rcu_cpu_notify(struct notifier_block *self, break; case CPU_DYING: case CPU_DYING_FROZEN: - /* - * The whole machine is "stopped" except this CPU, so we can - * touch any data without introducing corruption. We send the - * dying CPU's callbacks to an arbitrarily chosen online CPU. - */ for_each_rcu_flavor(rsp) rcu_cleanup_dying_cpu(rsp); rcu_cleanup_after_idle(cpu);