Thread (4 messages) 4 messages, 2 authors, 2012-09-04

Re: C13 [05/14] Extract a common function for kmem_cache_destroy

From: Christoph Lameter <hidden>
Date: 2012-09-04 22:59:00

On Mon, 3 Sep 2012, Glauber Costa wrote:
On 08/24/2012 08:10 PM, Christoph Lameter wrote:
quoted
kmem_cache_destroy does basically the same in all allocators.

Extract common code which is easy since we already have common mutex handling.

V1-V2:
	- Move percpu freeing to later so that we fail cleaner if
		objects are left in the cache [JoonSoo Kim]

Signed-off-by: Christoph Lameter <redacted>
Fails to build for the slab. Error is pretty much self-explanatory:

  CC      mm/slab.o
mm/slab.c: In function i? 1/2 slab_destroy_debugchecki? 1/2 :
mm/slab.c:2157:5: error: implicit declaration of function i? 1/2 slab_errori? 1/2 
[-Werror=implicit-function-declaration]
Ok. We need to keep the slab_error function for now.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help