From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx102.postini.com [74.125.245.102]) by kanga.kvack.org (Postfix) with SMTP id B1B6B6B0031 for ; Wed, 31 Jul 2013 06:07:32 -0400 (EDT) Date: Wed, 31 Jul 2013 11:07:28 +0100 From: Mel Gorman Subject: Re: [PATCH 17/18] sched: Retry migration of tasks to CPU on a preferred node Message-ID: <20130731100728.GP2296@suse.de> References: <1373901620-2021-1-git-send-email-mgorman@suse.de> <1373901620-2021-18-git-send-email-mgorman@suse.de> <20130725103352.GK27075@twins.programming.kicks-ass.net> <20130731100330.GO2296@suse.de> <20130731100505.GZ3008@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20130731100505.GZ3008@twins.programming.kicks-ass.net> Sender: owner-linux-mm@kvack.org List-ID: To: Peter Zijlstra Cc: Srikar Dronamraju , Ingo Molnar , Andrea Arcangeli , Johannes Weiner , Linux-MM , LKML On Wed, Jul 31, 2013 at 12:05:05PM +0200, Peter Zijlstra wrote: > On Wed, Jul 31, 2013 at 11:03:31AM +0100, Mel Gorman wrote: > > On Thu, Jul 25, 2013 at 12:33:52PM +0200, Peter Zijlstra wrote: > > > > > > Subject: stop_machine: Introduce stop_two_cpus() > > > From: Peter Zijlstra > > > Date: Sun Jul 21 12:24:09 CEST 2013 > > > > > > Introduce stop_two_cpus() in order to allow controlled swapping of two > > > tasks. It repurposes the stop_machine() state machine but only stops > > > the two cpus which we can do with on-stack structures and avoid > > > machine wide synchronization issues. > > > > > > Signed-off-by: Peter Zijlstra > > > > Clever! I did not spot any problems so will be pulling this (and > > presumably the next patch) into the series. Thanks! > > You mean aside from the glaring lack of hotplug handling? :-) Other than that which the following patch called out anyway :) -- Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org