lkml.org 
[lkml]   [2014]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] vm_is_stack: use for_each_thread() rather then buggy while_each_thread()
On Thu, 7 Aug 2014, Oleg Nesterov wrote:

> 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().
>
> Reported-and-tested-by: Aleksei Besogonov <alex.besogonov@gmail.com>
> Suggested-by: David Rientjes <rientjes@google.com>
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>

Acked-by: David Rientjes <rientjes@google.com>

> Cc: stable@vger.kernel.org

3.4+


\
 
 \ /
  Last update: 2014-08-09 11:21    [W:0.038 / U:3.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site