diff options
author | 2024-11-12 16:35:39 +0800 | |
---|---|---|
committer | 2024-11-12 16:35:39 +0800 | |
commit | a410656643ce4844ba9875aa4e87a7779308259b (patch) | |
tree | 06f9dc903859209e4ac281bccfc6531c9d6267d8 /scripts/generate_rust_analyzer.py | |
parent | LoongArch: Define a default value for VM_DATA_DEFAULT_FLAGS (diff) | |
download | wireguard-linux-a410656643ce4844ba9875aa4e87a7779308259b.tar.xz wireguard-linux-a410656643ce4844ba9875aa4e87a7779308259b.zip |
LoongArch: Make KASAN work with 5-level page-tables
Make KASAN work with 5-level page-tables, including:
1. Implement and use __pgd_none() and kasan_p4d_offset().
2. As done in kasan_pmd_populate() and kasan_pte_populate(), restrict
the loop conditions of kasan_p4d_populate() and kasan_pud_populate()
to avoid unnecessary population.
Cc: stable@vger.kernel.org
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions