Oleg Nesterov 4449a51a7c 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 <oleg@redhat.com>
Reported-by: Aleksei Besogonov <alex.besogonov@gmail.com>
Tested-by: Aleksei Besogonov <alex.besogonov@gmail.com>
Suggested-by: David Rientjes <rientjes@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-08 15:57:17 -07:00
..
2014-08-06 18:01:16 -07:00
2014-08-06 18:01:16 -07:00
2014-05-06 17:39:45 -04:00
2014-08-06 18:01:23 -07:00
2014-01-27 21:02:39 -08:00
2014-08-06 18:01:19 -07:00
2014-06-23 16:47:43 -07:00
2014-08-08 15:57:17 -07:00
2014-08-06 18:01:23 -07:00
2014-08-06 18:01:23 -07:00