Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [1/1] powerpc: get_wchan(): solve possible race scenario due to parallel wakeup | Date | Sun, 8 Oct 2017 19:43:31 +1100 (AEDT) |
| |
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
| |