lkml.org 
[lkml]   [2017]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [1/1] powerpc: get_wchan(): solve possible race scenario due to parallel wakeup
Date
On Tue, 2016-04-19 at 10:18:21 UTC, Kautuk Consul wrote:
> Add a check for p->state == TASK_RUNNING so that any wake-ups on
> task_struct p in the interim lead to 0 being returned by get_wchan().
>
> Signed-off-by: Kautuk Consul <kautuk.consul.1980@gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/4ca360f3dbf2036d964cdf3a6c4a45

cheers

\
 
 \ /
  Last update: 2017-10-08 10:44    [W:0.032 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site