diff options
author | Aaron Tomlin <[email protected]> | 2015-04-15 16:16:47 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-04-15 16:35:22 -0700 |
commit | 972fae6993cbbb934345011664dc703c0891dda3 (patch) | |
tree | 2e86c98a7c9a2cbf1a2992235b5e01b18157bc25 /lib/memory-notifier-error-inject.c | |
parent | 96831c0a6738f88f89e7012f4df0a747514af0a0 (diff) |
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 <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Dave Wysochanski <[email protected]>
Cc: Aaron Tomlin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions