[PATCH 0/3] more next_thread/while_each_thread changes

Oleg Nesterov
2013-11-22T19:16:52Z

Trivial, change the remaining next_thread (ab)users to use
while_each_thread().

The last user which should be changed is next_tid(), but we can't
do this now.

__exit_signal() and complete_signal() are fine, they actually need
next_thread() logic.

Oleg.

fs/proc/array.c | 3 +--
kernel/signal.c | 7 +++----
kernel/sys.c | 3 +--
3 files changed, 5 insertions(+), 8 deletions(-)