Re: [RFC][PATCH] mm/slub.c: Allow poisoning to use the fast path

From: Christopher Lameter
Date: Mon Aug 07 2017 - 14:03:09 EST


On Mon, 7 Aug 2017, Laura Abbott wrote:

> > Ok I see that the objects are initialized with poisoning and redzoning but
> > I do not see that there is fastpath code to actually check the values
> > before the object is reinitialized. Is that intentional or am
> > I missing something?
>
> Yes, that's intentional here. I see the validation as a separate more
> expensive feature. I had a crude patch to do some checks for testing
> and I know Daniel Micay had an out of tree patch to do some checks
> as well.

Ok then this patch does nothing? How does this help?