On Tue, 2 Oct 2007, Pavel Emelyanov wrote:
> Christoph Lameter wrote:
> > On Mon, 1 Oct 2007, Pavel Emelyanov wrote:
> >
> >>>> +
> >>> Quick check, slub_free_notify() and slab_alloc_notify() are called
> >>> from serialized contexts, right?
> >> Yup.
> >
> > How is it serialized?
>
> They are booth called from __slab_alloc()/__slab_free() from under
> the slab_lock(page).
This means they are serialized per slab. Which means you can guarantee
that multiple of these callbacks are not done at the same time for the
same object. Is that what you need?
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers