An error occurred while fetching folder content.
fix sys_getppid oopses on debug kernel
Kirill Korotaev authored
sys_getppid() optimization can access a freed memory.  On kernels with
DEBUG_SLAB turned ON, this results in Oops.  As Dave Hansen noted, this
optimization is also unsafe for memory hotplug.

So this patch always takes the lock to be safe.
Signed-off-by: default avatarKirill Korotaev <dev@openvz.org>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
7eeeab04
Name Last commit Last update