Re: SLUB defrag pull request?

From: Miklos Szeredi
Date: Wed Oct 22 2008 - 16:26:27 EST


On Wed, 22 Oct 2008, Christoph Lameter wrote:
> On Wed, 22 Oct 2008, Miklos Szeredi wrote:
>
> > You are not actually listening to what I'm saying. Please read the
> > question carefully again.
>
> That is the impression that I got from you too. I have listed the options
> to get a reliable reference to an object and you seem to just skip over
> it.

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?

Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/