lkml.org 
[lkml]   [2013]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 17/18] sched: Retry migration of tasks to CPU on a preferred node
On Thu, Jul 25, 2013 at 12:33:52PM +0200, Peter Zijlstra wrote:
>
> Subject: stop_machine: Introduce stop_two_cpus()
> From: Peter Zijlstra <peterz@infradead.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@infradead.org>

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


\
 
 \ /
  Last update: 2013-07-31 12:21    [W:0.615 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site