Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933156AbXJQESk (ORCPT ); Wed, 17 Oct 2007 00:18:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750982AbXJQESG (ORCPT ); Wed, 17 Oct 2007 00:18:06 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:53335 "EHLO e31.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750823AbXJQER5 (ORCPT ); Wed, 17 Oct 2007 00:17:57 -0400 Date: Wed, 17 Oct 2007 09:47:52 +0530 From: Gautham R Shenoy To: Linus Torvalds Cc: Dipankar Sarma , Andrew Morton , linux-kernel@vger.kernel.org, Srivatsa Vaddagiri , Rusty Russel , Oleg Nesterov , Ingo Molnar , Paul E McKenney Subject: Re: [RFC PATCH 0/4] Refcount Based Cpu-Hotplug Revisit. Message-ID: <20071017041752.GA9940@in.ibm.com> Reply-To: ego@in.ibm.com References: <20071016103308.GA9907@in.ibm.com> <20071017021112.GA15895@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.12-2006-07-14 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1040 Lines: 32 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/