Home
last modified time | relevance | path

Searched hist:d127c19c7bea6150a247ffcd529c9a176877e422 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/riscv/mm/
H A Dkasan_init.cdiff d127c19c7bea6150a247ffcd529c9a176877e422 Mon Feb 08 13:30:16 CST 2021 Alexandre Ghiti <alex@ghiti.fr> riscv: Improve kasan population function

Current population code populates a whole page table without taking care
of what could have been already allocated and without taking into account
possible index in page table, assuming the virtual address to map is always
aligned on the page table size, which, for example, won't be the case when
the kernel will get pushed to the end of the address space.

Address those problems by rewriting the kasan population function,
splitting it into subfunctions for each different page table level.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>