Files
twx-linux/kernel
Kirill Korotaev 024bd8b8e0 sys_getppid oopses on debug kernel
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.

[oleg@tv-sign.ru: simplifications]

Signed-off-by: Kirill Korotaev <dev@openvz.org>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-08-23 14:13:31 -07:00
..
2006-05-01 06:10:01 -04:00
2006-05-01 06:10:07 -04:00
2006-05-31 16:27:11 -07:00
2006-08-06 20:52:16 -07:00
2006-04-01 01:41:22 +02:00
2006-08-23 14:13:31 -07:00
2006-04-19 16:27:18 -07:00