On Thu, Aug 20, 2015 at 07:09:23PM +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 <o...@redhat.com>
> Signed-off-by: Peter Zijlstra (Intel) <pet...@infradead.org>
> Cc: Steven Rostedt <rost...@goodmis.org>
> Cc: Kirill Tkhai <tk...@yandex.ru>
> Cc: Linus Torvalds <torva...@linux-foundation.org>
> Link: http://lkml.kernel.org/r/20141008193644.ga32...@redhat.com
> Signed-off-by: Ingo Molnar <mi...@kernel.org>
> Signed-off-by: Kirill Tkhai <ktk...@odin.com>

I've already reviewed this one, and it didn't change in v2. You could've
added my reviewed-by. Anyway,

Reviewed-by: Vladimir Davydov <vdavy...@parallels.com>
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to