[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <3y8xjb4YPnz9t4R@ozlabs.org>
Date: Sun, 8 Oct 2017 19:43:31 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Kautuk Consul <kautuk.consul.1980@...il.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Anton Blanchard <anton@...ba.org>,
Cyril Bur <cyrilbur@...il.com>,
Michael Neuling <mikey@...ling.org>,
Anshuman Khandual <khandual@...ux.vnet.ibm.com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Kautuk Consul <kautuk.consul.1980@...il.com>
Subject: Re: [1/1] powerpc: get_wchan(): solve possible race scenario due to parallel wakeup
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@...il.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/4ca360f3dbf2036d964cdf3a6c4a45
cheers
Powered by blists - more mailing lists