Re: [PATCH v2 0/7] SLAB support for KASAN

From: Christoph Lameter
Date: Thu Feb 18 2016 - 12:33:02 EST


On Thu, 18 Feb 2016, Alexander Potapenko wrote:

> Unlike SLUB, SLAB doesn't store allocation/deallocation stacks for heap
> objects, therefore we reimplement this feature in mm/kasan/stackdepot.c.
> The intention is to ultimately switch SLUB to use this implementation as
> well, which will remove the dependency on SLUB_DEBUG.

This needs to be clarified a bit. CONFIG_SLUB_DEBUG is on by default. So
the dependency does not matter much. I think you depend on the slowpath
debug processing right? The issue is that you want to do these things in
the fastpath?