Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760981AbYBVVEe (ORCPT ); Fri, 22 Feb 2008 16:04:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754876AbYBVVEZ (ORCPT ); Fri, 22 Feb 2008 16:04:25 -0500 Received: from wolverine01.qualcomm.com ([199.106.114.254]:29339 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753838AbYBVVEX (ORCPT ); Fri, 22 Feb 2008 16:04:23 -0500 X-IronPort-AV: E=McAfee;i="5200,2160,5236"; a="869389" Message-ID: <47BF38D5.7090604@qualcomm.com> Date: Fri, 22 Feb 2008 13:04:21 -0800 From: Max Krasnyanskiy User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Dmitry Adamushko CC: Ingo Molnar , Andrew Morton , LKML , Paul Jackson , Peter Zijlstra Subject: Re: [PATCH sched-devel 0/7] CPU isolation extensions References: <47BE35B7.2070104@qualcomm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1374 Lines: 32 Dmitry Adamushko wrote: > Hi Max, > >> [ ... ] >> Last patch to the stop machine is potentially unsafe and is marked as experimental. Unfortunately >> it's currently the only option that allows dynamic module insertion/removal for above scenarios. > > I'm puzzled by the following part (can be a misunderstanding from my side) > > +config CPUISOL_STOPMACHINE > + bool "Do not halt isolated CPUs with Stop Machine (EXPERIMENTAL)" > + depends on CPUISOL && STOP_MACHINE && EXPERIMENTAL > + help > + If this option is enabled kernel will not halt isolated CPUs > + when Stop Machine is triggered. Stop Machine is currently only > + used by the module insertion and removal. > > this "only" part. What about e.g. a 'cpu hotplug' case (_cpu_down())? > (or we should abstract it a bit to the point that e.g. a cpu can be > considered as 'a module'? :-) My bad. I forgot to update that text. As you and other folks pointed out stopmachine is used in a few other places besides module loading. We had a discussion about this awhile ago. I just forgot to update the text. Will do. Max -- 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/