[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0704230804490.27616@sbz-30.cs.Helsinki.FI>
Date: Mon, 23 Apr 2007 08:05:06 +0300 (EEST)
From: Pekka J Enberg <penberg@...helsinki.fi>
To: Akinobu Mita <akinobu.mita@...il.com>
cc: Andi Kleen <andi@...stfloor.org>,
Scott Porter <scott@...ngridcomputing.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
akpm@...ux-foundation.org
Subject: Re: [PATCH] fault injection: fix failslab with CONFIG_NUMA
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_alloc() and
> __cache_alloc_node(). These are lower call path than ____cache_alloc()
> and enable to inject faulures to slab allocators with CONFIG_NUMA.
Looks good to me.
Acked-by: Pekka Enberg <penberg@...helsinki.fi>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists