Re: [PATCH 17/18] sched: Retry migration of tasks to CPU on a preferred node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <peterz@xxxxxxxxxxxxx>
> > > 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@xxxxxxxxxxxxx>
> > 
> > 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@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]