Re: [PATCH 1/1] riscv/kasan: add KASAN_VMALLOC support

2021-01-14 Thread Palmer Dabbelt
On Tue, 12 Jan 2021 18:28:22 PST (-0800), nyl...@andestech.com wrote: It's reference x86/s390 architecture. So, it's don't map the early shadow page to cover VMALLOC space. Prepopulate top level page table for the range that would otherwise be empty. lower levels are filled dynamically upon

[PATCH 1/1] riscv/kasan: add KASAN_VMALLOC support

2021-01-12 Thread Nylon Chen
It's reference x86/s390 architecture. So, it's don't map the early shadow page to cover VMALLOC space. Prepopulate top level page table for the range that would otherwise be empty. lower levels are filled dynamically upon memory allocation while booting. Signed-off-by: Nylon Chen