lkml.org 
[lkml]   [2009]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] softlockup: fix potential race in hung_task when resetting timeout

* Mandeep Singh Baines <msb@google.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@google.com>
> ---
> kernel/hung_task.c | 24 ++++++++++++++++--------
> 1 files changed, 16 insertions(+), 8 deletions(-)

Applied to tip/core/softlockup, thanks Mandeep!

Ingo


\
 
 \ /
  Last update: 2009-01-18 19:25    [W:0.045 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site