Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load_freelist:/SlabDebug path

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pekka Enberg
Date: Tuesday, May 13, 2008 - 11:40 am

Hi Benny,

On Mon, May 12, 2008 at 11:32 PM, Benny Halevy <bhalevy@panasas.com> wrote:

But for debug pages, we never load c->page->freelist to c->freelist so
it should always be NULL.


Looking at this, we're oopsing at:

   0:   48 8b 04 c2             mov    (%rdx,%rax,8),%rax

where rdx is c->freelist and rax c->offset. The the value for
c->freelist ("3200100010100000") doesn't make much sense. Furthermore,
we never if this really were a bug in __slab_alloc() shouldn't we be
hitting it more often?

How did you make SLUB hit the debug path since you have
CONFIG_SLUB_DEBUG_ON disabled?

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

Messages in current thread:
Re: [PATCH] SLUB: clear c->freelist in __slab_alloc()/load ..., Pekka Enberg, (Tue May 13, 11:40 am)