x86-32: Restore irq stacks NUMA-aware allocations
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 28 Oct 2010 14:40:54 +0000 (16:40 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Oct 2010 06:17:07 +0000 (08:17 +0200)
commit5c1eb08936693cd78c71164c8bea0b086ae72c67
treec574c0702264acba1a695148dae27cf189287acc
parent419db274bed4269f475a8e78cbe9c917192cfe8b
x86-32: Restore irq stacks NUMA-aware allocations

Commit 22d4cd4c4d ("Allocate irq stacks seperate from percpu
area") removed NUMA affinity of IRQ stacks as side-effect of
the fix.

Using alloc_pages_node() instead of __get_free_pages() is safe,
even if the target node has no available LOWMEM pages :
alloc_pages_node() fallbacks to another node.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Brian Gerst <brgerst@gmail.com>
Cc: tj@kernel.org
Cc: torvalds@linux-foundation.org
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1288276854.2649.607.camel@edumazet-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/irq_32.c