[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130731100505.GZ3008@twins.programming.kicks-ass.net>
Date: Wed, 31 Jul 2013 12:05:05 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Mel Gorman <mgorman@...e.de>
Cc: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>,
Ingo Molnar <mingo@...nel.org>,
Andrea Arcangeli <aarcange@...hat.com>,
Johannes Weiner <hannes@...xchg.org>,
Linux-MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 17/18] sched: Retry migration of tasks to CPU on a
preferred node
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 <peterz@...radead.org>
> > 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 <peterz@...radead.org>
>
> 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? :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists