Re: [PATCH] vm_is_stack: use for_each_thread() rather then buggy while_each_thread()
From: David Rientjes
Date: Sat Aug 09 2014 - 04:59:34 EST
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
> Reported-and-tested-by: Aleksei Besogonov <alex.besogonov@xxxxxxxxx>
> Suggested-by: David Rientjes <rientjes@xxxxxxxxxx>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/