diff options
| author | 2016-12-12 16:45:35 -0800 | |
|---|---|---|
| committer | 2016-12-12 18:55:09 -0800 | |
| commit | 4ca5ede07c9871c13ae422c96d6d08dbd0df5eda (patch) | |
| tree | 71b67a4356f091441bd67074ac41398b50cb323e /include/linux/compiler-gcc.h | |
| parent | fs/proc: calculate /proc/* and /proc/*/task/* nlink at init time (diff) | |
| download | wireguard-linux-4ca5ede07c9871c13ae422c96d6d08dbd0df5eda.tar.xz wireguard-linux-4ca5ede07c9871c13ae422c96d6d08dbd0df5eda.zip | |
hung_task: decrement sysctl_hung_task_warnings only if it is positive
Since sysctl_hung_task_warnings == -1 is allowed (infinite warnings),
commit 48a6d64edadb ("hung_task: allow hung_task_panic when
hung_task_warnings is 0") should decrement it only when it is not -1.
This prevents the kernel from ceasing warnings after the first
4294967295 ;)
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: John Siddle <jsiddle@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
