Re: [PATCH] cpu hotplug: Make cpu_active_map synchronizationdependency clear

From: Ingo Molnar
Date: Fri Jul 18 2008 - 07:27:14 EST



* Max Krasnyansky <maxk@xxxxxxxxxxxx> wrote:

> This goes on top of the cpu_active_map (take 2) patch.

i've applied it to sched/devel. Note that checkpatch caught:

> + /* Make sure the all cpus did the reschedule and are not
> + * using stale version of the cpu_active_map.
> + * This is not strictly necessary becuase stop_machine()
> + * that we run down the line already provides the required
> + * synchronization. But it's really a side effect and we do not
> + * want to depend on the innards of the stop_machine here. */
> + synchronize_sched();

this had both whitespace problems (trailing spaces) and basic formatting
problems. I fixed these up.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/