summaryrefslogtreecommitdiffstats
path: root/mm/bounce.c
diff options
context:
space:
mode:
authorAkinobu Mita2007-05-06 23:49:58 +0200
committerLinus Torvalds2007-05-07 21:12:55 +0200
commit824ebef122153a03925ae0ed211b4e8568d1c8db (patch)
tree2a9ce9acc187b6a6985064c773cbf850ad405a07 /mm/bounce.c
parentslab allocators: remove multiple alignment specifications (diff)
downloadkernel-qcow2-linux-824ebef122153a03925ae0ed211b4e8568d1c8db.tar.gz
kernel-qcow2-linux-824ebef122153a03925ae0ed211b4e8568d1c8db.tar.xz
kernel-qcow2-linux-824ebef122153a03925ae0ed211b4e8568d1c8db.zip
fault injection: fix failslab with CONFIG_NUMA
Currently failslab injects failures into ____cache_alloc(). But with enabling CONFIG_NUMA it's not enough to let actual slab allocator functions (kmalloc, kmem_cache_alloc, ...) return NULL. This patch moves fault injection hook inside of __cache_alloc() and __cache_alloc_node(). These are lower call path than ____cache_alloc() and enable to inject faulures to slab allocators with CONFIG_NUMA. Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/bounce.c')
0 files changed, 0 insertions, 0 deletions