Re: [PATCH] fault injection: fix failslab with CONFIG_NUMA

2007-04-22 Thread Pekka J Enberg
On Sun, 22 Apr 2007, Akinobu Mita wrote: > 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_

[PATCH] fault injection: fix failslab with CONFIG_NUMA

2007-04-22 Thread Akinobu Mita
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 c