[Devel] [PATCH v2 1/2] sched/core: Set task_struct::woken_while_running under rq lock

Vladimir Davydov vdavydov at virtuozzo.com
Mon Jan 18 02:58:51 PST 2016


On Fri, Jan 15, 2016 at 07:56:35PM +0300, Kirill Tkhai wrote:
> Since it's set under pi_lock and cleared under rq->lock, these
> both are not synchronized.
> 
> Put move "woken_while_running = 1" in ttwu_remote(), where rq lock
> is held.
> 
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>

Reviewed-by: Vladimir Davydov <vdavydov at virtuozzo.com>


More information about the Devel mailing list