Re: [RFC PATCH 0/4] Refcount Based Cpu-Hotplug Revisit.

From: Linus Torvalds
Date: Tue Oct 16 2007 - 22:30:13 EST




On Wed, 17 Oct 2007, Dipankar Sarma wrote:
>
> Unless I am reading the patch wrongly, it seems cpu_hotplug_begin() is called
> while holding the cpu_add_remove_lock mutex. So, another CPU cannot come in
> and do the same until _cpu_down() is over.

Ahh, in that case I take back that objection, although maybe a comment
about the required nesting within the other mutex is in order? Or maybe
it's there and I just missed it (blush).

Linus
-
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/