On Fri, Feb 10, 2023 at 10:19 PM <andrey.konovalov@xxxxxxxxx> wrote: > > From: Andrey Konovalov <andreyknvl@xxxxxxxxxx> > > Move all interface- and usage-related documentation comments to > include/linux/stackdepot.h. > > It makes sense to have them in the header where they are available to > the interface users. > > Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx> Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx> > + * For example, KASAN needs to save allocation and free stack traces for each > + * object. Storing two stack traces per object requires a lot of memory (e.g. > + * SLUB_DEBUG needs 256 bytes per object for that). Since allocation and free > + * stack traces often repeat, using stack depot allows to save about 100x space. > + * > + * Stack traces are never removed from stack depot. ... from the stack depot?