From: Rusty Russell <rusty@rustcorp.com.au>
-[PATCH] Module per-cpu alignment cannot always be met
+Fwd from Daniel Drake <dsd@gentoo.org>.
The module code assumes noone will ever ask for a per-cpu area more than
SMP_CACHE_BYTES aligned. However, as these cases show, gcc asks sometimes
From: Eric Dumazet <dada1@cosmosbay.com>
-[PATCH] sys_set_mempolicy() doesnt check if mode < 0
-
A kernel BUG() is triggered by a call to set_mempolicy() with a negative
first argument. This is because the mode is declared as an int, and the
validity check doesnt check < 0 values. Alternatively, mode could be
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+---
Index: linux-2.6.12/arch/x86_64/kernel/setup.c
===================================================================