Re: [PATCH v5 5/7] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-03-10 Thread Alexander Potapenko
On Wed, Mar 9, 2016 at 9:09 PM, Andrew Morton wrote: > On Wed, 9 Mar 2016 12:05:46 +0100 Alexander Potapenko > wrote: > >> Implement the stack depot and provide CONFIG_STACKDEPOT. >> Stack depot will allow KASAN store allocation/deallocation stack traces >> for memory chunks. The stack traces a

Re: [PATCH v5 5/7] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-03-09 Thread Andrew Morton
On Wed, 9 Mar 2016 12:05:46 +0100 Alexander Potapenko wrote: > Implement the stack depot and provide CONFIG_STACKDEPOT. > Stack depot will allow KASAN store allocation/deallocation stack traces > for memory chunks. The stack traces are stored in a hash table and > referenced by handles which re

[PATCH v5 5/7] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-03-09 Thread Alexander Potapenko
Implement the stack depot and provide CONFIG_STACKDEPOT. Stack depot will allow KASAN store allocation/deallocation stack traces for memory chunks. The stack traces are stored in a hash table and referenced by handles which reside in the kasan_alloc_meta and kasan_free_meta structures in the alloca