On Thu, Jul 25, 2013 at 12:33:52PM +0200, Peter Zijlstra wrote: > > Subject: stop_machine: Introduce stop_two_cpus() > From: Peter Zijlstra <[email protected]> > 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 <[email protected]>
Clever! I did not spot any problems so will be pulling this (and presumably the next patch) into the series. Thanks! -- Mel Gorman SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

