summaryrefslogtreecommitdiffstats
path: root/init/initramfs.c
diff options
context:
space:
mode:
authorAlexandre Ghiti <alex@ghiti.fr>2021-02-08 14:30:16 -0500
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-02-22 18:45:12 -0800
commitd127c19c7bea6150a247ffcd529c9a176877e422 (patch)
treea6139522f0e683fd3bc8e346c87f820cc0a1bfa2 /init/initramfs.c
parent9484e2aef45bbc27cd23519917f27031e2857a6f (diff)
downloadlinux-d127c19c7bea6150a247ffcd529c9a176877e422.tar.bz2
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>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions