From: Oleg Nesterov Date: Fri, 8 Aug 2014 21:19:17 +0000 (-0700) Subject: vm_is_stack: use for_each_thread() rather then buggy while_each_thread() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~116^2~191 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4449a51a7c281602d3a385044ab928322a122a02;p=pandora-kernel.git vm_is_stack: use for_each_thread() rather then buggy while_each_thread() Aleksei hit the soft lockup during reading /proc/PID/smaps. David investigated the problem and suggested the right fix. while_each_thread() is racy and should die, this patch updates vm_is_stack(). Signed-off-by: Oleg Nesterov Reported-by: Aleksei Besogonov Tested-by: Aleksei Besogonov Suggested-by: David Rientjes Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed