[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090118182236.GB24570@elte.hu>
Date: Sun, 18 Jan 2009 19:22:36 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Mandeep Singh Baines <msb@...gle.com>
Cc: linux-kernel@...r.kernel.org, hannes@...xchg.org,
rientjes@...gle.com, mbligh@...gle.com, thockin@...gle.com
Subject: Re: [PATCH] softlockup: fix potential race in hung_task when
resetting timeout
* Mandeep Singh Baines <msb@...gle.com> wrote:
> Patch against tip/core/softlockup.
>
> ---
>
> A potential race exists if sysctl_hung_task_timeout_secs is reset to 0
> while inside check_hung_uniterruptible_tasks(). If check_task() is
> entered, a comparison with 0 will result in a false hung_task being
> detected.
>
> If sysctl_hung_task_panic is set, the system will panic.
>
> Signed-off-by: Mandeep Singh Baines <msb@...gle.com>
> ---
> kernel/hung_task.c | 24 ++++++++++++++++--------
> 1 files changed, 16 insertions(+), 8 deletions(-)
Applied to tip/core/softlockup, thanks Mandeep!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists