Re: [PATCH] slub: operate cache name memory same to slab and slob

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Rientjes
Date: Thursday, November 18, 2010 - 2:36 pm

On Thu, 18 Nov 2010, Matt Mackall wrote:


The leak in ext4_mb_init() above is because it is using kstrdup() to 
allocate the string itself and then on destroy uses kmem_cache_name() to 
attain the slub allocator's pointer to the name, not the memory the ext4 
layer allocated itself.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] slub: operate cache name memory same to slab a ..., David Rientjes, (Thu Nov 18, 2:36 pm)