From: Oleg Nesterov Date: Mon, 26 Jun 2006 07:26:04 +0000 (-0700) Subject: [PATCH] de_thread: fix lockless do_each_thread X-Git-Tag: v2.6.18-rc1~741 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ceb8693ef63ae3d154ce1a05d275f2bb20a5e4c;p=pandora-kernel.git [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 Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed