Messages in this thread | | | Date | Wed, 17 Oct 2007 09:47:52 +0530 | From | Gautham R Shenoy <> | Subject | Re: [RFC PATCH 0/4] Refcount Based Cpu-Hotplug Revisit. |
| |
On Tue, Oct 16, 2007 at 07:23:38PM -0700, Linus Torvalds wrote: > > > 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).
Good point! I'll add the comment before cpu_hotplug_begin().
> > Linus
Thanks and Regards gautham. -- Gautham R Shenoy Linux Technology Center IBM India. "Freedom comes with a price tag of responsibility, which is still a bargain, because Freedom is priceless!" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |