commit | d387cae075b0aec479adbdfb71df39f7de8e9adb | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Mon Oct 02 02:17:22 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Oct 02 07:57:15 2006 -0700 |
tree | fe5c9a3b105f3edf4049c16dda4085c5f356fafe | |
parent | c88be3eb2e01bbb21c9ccdc3805f0d3546c1898c [diff] |
[PATCH] pid: simplify pid iterators I think it is hardly possible to read the current do_each_task_pid(). The new version is much simpler and makes the code smaller. Only the do_each_task_pid change is tested, the do_each_pid_task isn't. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>