diff options
author | Aaron Tomlin <atomlin@redhat.com> | 2015-04-15 16:16:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 16:35:22 -0700 |
commit | 972fae6993cbbb934345011664dc703c0891dda3 (patch) | |
tree | 2e86c98a7c9a2cbf1a2992235b5e01b18157bc25 /drivers/sbus/char/envctrl.c | |
parent | 96831c0a6738f88f89e7012f4df0a747514af0a0 (diff) | |
download | blackbird-op-linux-972fae6993cbbb934345011664dc703c0891dda3.tar.gz blackbird-op-linux-972fae6993cbbb934345011664dc703c0891dda3.zip |
kernel/hung_task.c: change hung_task.c to use for_each_process_thread()
In check_hung_uninterruptible_tasks() avoid the use of deprecated
while_each_thread().
The "max_count" logic will prevent a livelock - see commit 0c740d0a
("introduce for_each_thread() to replace the buggy while_each_thread()").
Having said this let's use for_each_process_thread().
Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Dave Wysochanski <dwysocha@redhat.com>
Cc: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/sbus/char/envctrl.c')
0 files changed, 0 insertions, 0 deletions