[PATCH] mm: optimize numa policy handling in slab allocator
authorChristoph Lameter <clameter@engr.sgi.com>
Thu, 19 Jan 2006 01:42:37 +0000 (17:42 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 19 Jan 2006 03:20:18 +0000 (19:20 -0800)
commit86c562a9d6683063e071692fe14e0a18e64ee1be
treedd64f8bff4624f17f2245aeadf962e0d6d5974a0
parentdc85da15d42b0efc792b0f5eab774dc5dbc1ceec
[PATCH] mm: optimize numa policy handling in slab allocator

Move the interrupt check from slab_node into ___cache_alloc and adds an
"unlikely()" to avoid pipeline stalls on some architectures.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c
mm/slab.c