Explorar o código

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 <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Srivatsa S. Bhat %!s(int64=13) %!d(string=hai) anos
pai
achega
0bdf5984ad
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      kernel/rcutree.c

+ 0 - 5
kernel/rcutree.c

@@ -2931,11 +2931,6 @@ static int __cpuinit rcu_cpu_notify(struct notifier_block *self,
 		break;
 		break;
 	case CPU_DYING:
 	case CPU_DYING:
 	case CPU_DYING_FROZEN:
 	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)
 		for_each_rcu_flavor(rsp)
 			rcu_cleanup_dying_cpu(rsp);
 			rcu_cleanup_dying_cpu(rsp);
 		rcu_cleanup_after_idle(cpu);
 		rcu_cleanup_after_idle(cpu);