commit | 2ceb8693ef63ae3d154ce1a05d275f2bb20a5e4c | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Mon Jun 26 00:26:04 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jun 26 09:58:26 2006 -0700 |
tree | 6e61f8c5513cb905d6326417b0e95f27d3623735 | |
parent | 42c3e03ef6b298813557cdb997bd6db619cd65a2 [diff] |
[PATCH] de_thread: fix lockless do_each_thread We should keep the value of old_leader->tasks.next in de_thread, otherwise we can't do for_each_process/do_each_thread without tasklist_lock held. 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>