From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759104Ab3GaKFQ (ORCPT ); Wed, 31 Jul 2013 06:05:16 -0400 Received: from merlin.infradead.org ([205.233.59.134]:45447 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753069Ab3GaKFO (ORCPT ); Wed, 31 Jul 2013 06:05:14 -0400 Date: Wed, 31 Jul 2013 12:05:05 +0200 From: Peter Zijlstra To: Mel Gorman 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: <20130731100505.GZ3008@twins.programming.kicks-ass.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130731100330.GO2296@suse.de> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? :-)