On Thu, Aug 20, 2015 at 02:26:13PM +0300, Kirill Tkhai wrote:
> Porting commit 1a43a14a5bd9c32dbd7af35e35a5afa703944bcb by Oleg Nesterov:
> 
> finish_task_switch() enables preemption, so post_schedule(rq) can be
> called on the wrong (and even dead) CPU. Afaics, nothing really bad
> can happen, but in this case we can wrongly clear rq->post_schedule
> on that CPU. And this simply looks wrong in any case.
> 
> Signed-off-by: Oleg Nesterov <[email protected]>
> Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
> Cc: Steven Rostedt <[email protected]>
> Cc: Kirill Tkhai <[email protected]>
> Cc: Linus Torvalds <[email protected]>
> Link: http://lkml.kernel.org/r/[email protected]
> Signed-off-by: Ingo Molnar <[email protected]>
> Signed-off-by: Kirill Tkhai <[email protected]>

Reviewed-by: Vladimir Davydov <[email protected]>
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to