Re: [PATCH] mm: Add additional consistency check

From: Christoph Lameter
Date: Tue Apr 11 2017 - 12:26:10 EST


On Tue, 11 Apr 2017, Kees Cook wrote:

> It seems that enabling the debug checks comes with a non-trivial
> performance impact. I'd like to see consistency checks by default so
> we can handle intentional heap corruption attacks better. This check
> isn't expensive...

Note also that these checks can be enabled and disabled at runtime for
each slab cache.