Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932185Ab3GaKHd (ORCPT ); Wed, 31 Jul 2013 06:07:33 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53898 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903Ab3GaKHc (ORCPT ); Wed, 31 Jul 2013 06:07:32 -0400 Date: Wed, 31 Jul 2013 11:07:28 +0100 From: Mel Gorman To: Peter Zijlstra Cc: Srikar Dronamraju , Ingo Molnar , Andrea Arcangeli , Johannes Weiner , Linux-MM , LKML 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> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1218 Lines: 30 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 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/