Re: [PATCH] slab: cache_grow cleanup

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <linux-kernel@...>, <hugh@...>, <clameter@...>
Date: Sunday, January 28, 2007 - 7:14 am

Hi Andrew,

On 1/28/07, Andrew Morton <akpm@osdl.org> wrote:

Hmm, alloc_slabmgmt calls kmem_cache_alloc with interrupts disabled
which triggers the warning. We won't deadlock though as we enable
interrupts in kmem_getpages in case we need to refill
cachep->slabp_cache. So the debug check is bogus when calling
kmem_cache_alloc within the slab allocator, I think.

I'll whack it some more and resend. Thanks Andrew!

                               Pekka
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] slab: cache_grow cleanup, Pekka J Enberg, (Tue Jan 9, 9:40 am)
Re: [PATCH] slab: cache_grow cleanup, Andrew Morton, (Sat Jan 27, 8:12 pm)
Re: [PATCH] slab: cache_grow cleanup, Pekka Enberg, (Sun Jan 28, 7:14 am)
Re: [PATCH] slab: cache_grow cleanup, Pekka Enberg, (Fri Jan 12, 5:22 am)
Re: [PATCH] slab: cache_grow cleanup, Christoph Lameter, (Tue Jan 9, 2:18 pm)
Re: [PATCH] slab: cache_grow cleanup, Pekka Enberg, (Wed Jan 10, 10:44 am)
Re: slab: cache_grow cleanup, Pekka J Enberg, (Wed Jan 10, 3:12 am)