Re: [PATCH v1] mm, kasan: don't call kasan_krealloc() from ksize(). Add a ksize() test.

From: Andrey Ryabinin
Date: Wed Apr 13 2016 - 04:20:47 EST


2016-04-11 20:10 GMT+03:00 Alexander Potapenko <glider@xxxxxxxxxx>:
> Instead of calling kasan_krealloc(), which replaces the memory allocation
> stack ID (if stack depot is used), just unpoison the whole memory chunk.
> Add a test that makes sure ksize() unpoisons the whole chunk.
>

Split in two please.

> Signed-off-by: Alexander Potapenko <glider@xxxxxxxxxx>
> ---