[lkml]   [2008]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: SLUB defrag pull request?
On Wed, Oct 22, 2008 at 11:26 PM, Miklos Szeredi <> wrote:
> Because you don't _need_ a reliable reference to access the contents
> of the dentry. The dentry is still there after being freed, as long
> as the underlying slab is there and isn't being reused for some other
> purpose. But you can easily ensure that from the slab code.
> Hmm?

Actually, when debugging is enabled, it's customary to poison the
object, for example (see free_debug_processing() in mm/slub.c). So we
really can't "easily ensure" that in the allocator unless we by-pass
all the current debugging code.

 \ /
  Last update: 2008-10-22 22:51    [W:0.081 / U:7.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site