Re: [PATCH v10 5/5] kasan debug: track pages allocated for vmalloc shadow

2019-10-29 Thread Andrey Ryabinin
On 10/29/19 7:20 AM, Daniel Axtens wrote: > Provide the current number of vmalloc shadow pages in > /sys/kernel/debug/kasan/vmalloc_shadow_pages. > I wouldn't merge this. I don't see use-case for this, besides testing this patch set. And I think that number should be possible to extract via page_

[PATCH v10 5/5] kasan debug: track pages allocated for vmalloc shadow

2019-10-28 Thread Daniel Axtens
Provide the current number of vmalloc shadow pages in /sys/kernel/debug/kasan/vmalloc_shadow_pages. Signed-off-by: Daniel Axtens --- v10: rebase on linux-next/master. v8: rename kasan_vmalloc/shadow_pages -> kasan/vmalloc_shadow_pages On v4 (no dynamic freeing), I saw the following approximat