[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070402101813.GB5831@saeurebad.de>
Date: Mon, 2 Apr 2007 12:18:13 +0200
From: Johannes Weiner <hannes-kernel@...urebad.de>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, christoph@...eter.com,
penberg@...helsinki.fi
Subject: [PATCH] Catch kmalloc() failure in kmem_cache_init()
Hi,
This patch makes kmem_cache_init() trigger a BUG when the calls to
kmalloc() fail. Altough the kernel would not boot anyway on failure,
this adds some clarity to the code.
Signed-off-by: Johannes Weiner <hannes-kernel@...urebad.de>
View attachment "slab-cache-init-kmalloc-failure-catch.patch" of type "text/plain" (599 bytes)
Powered by blists - more mailing lists