Re: [PATCH 2/4] stop_machine: reimplement using cpuhog

From: Arjan van de Ven
Date: Mon Mar 08 2010 - 11:32:23 EST


On Tue, 9 Mar 2010 00:53:21 +0900
Tejun Heo <tj@xxxxxxxxxx> wrote:

> Reimplement stop_machine using cpuhog. As cpuhogs are guaranteed to
> be available for all online cpus, stop_machine_create/destroy() are no
> longer necessary and removed.

question;
stop_machine pretty much also stops interrupts (it has to, at least for
the users of stop_machine).. do cpu_hogs do this too?

(if they don't, cpu_hogs aren't safe for some of the users of
stop_machine, like code patching etc)


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/