Damn sorry for noise ;)

On 10/07, Oleg Nesterov wrote:
>
> +void stop_machine_park(int cpu)
> +{
> +     struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu);
> +
> +     spin_lock(&stopper->lock);
> +     stopper->enabled = false;
> +     spin_unlock(&stopper->lock);

Of course, it should also do kthread_park(current).

Oleg.

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

Reply via email to