From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756381Ab3JJQgi (ORCPT ); Thu, 10 Oct 2013 12:36:38 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.226]:60012 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755911Ab3JJQgh (ORCPT ); Thu, 10 Oct 2013 12:36:37 -0400 Date: Thu, 10 Oct 2013 12:36:31 -0400 From: Steven Rostedt To: Andrew Morton Cc: Oleg Nesterov , Ingo Molnar , "Srivatsa S. Bhat" , Peter Zijlstra , Paul McKenney , Mel Gorman , Rik van Riel , Srikar Dronamraju , Andrea Arcangeli , Johannes Weiner , Thomas Gleixner , Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2 Message-ID: <20131010123631.1be60315@gandalf.local.home> In-Reply-To: <20131010090044.7f12ddaf.akpm@linux-foundation.org> References: <20131008102505.404025673@infradead.org> <20131009225006.7101379c.akpm@linux-foundation.org> <20131010121908.GB28601@twins.programming.kicks-ass.net> <20131010145738.GA5167@gmail.com> <20131010152612.GA13375@redhat.com> <20131010090044.7f12ddaf.akpm@linux-foundation.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.20; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Oct 2013 09:00:44 -0700 Andrew Morton wrote: > It's been ages since I looked at this stuff :( Although it isn't used > much, memory hotplug manages to use stop_machine() on the add/remove > (ie, "writer") side and nothing at all on the "reader" side. Is there > anything which fundamentally prevents cpu hotplug from doing the same? I would think that memory hotplug may require stop machine as all CPUs may touch that memory. But we would like to remove stomp machine from CPU hotplug. Why prevent all CPUs from running when we want to remove one? -- Steve