diff options
author | Mark-PK Tsai <mark-pk.tsai@mediatek.com> | 2023-10-19 15:38:16 +0200 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-12-05 12:42:15 +0100 |
commit | 89320c9785e8429155f8dfa44a183b509866e852 (patch) | |
tree | d3fb5006040aeebdde872ace6c4739faf8058f25 /arch/arm/mm/init.c | |
parent | ARM: 9328/1: mm: try VMA lock-based page fault handling first (diff) | |
download | linux-89320c9785e8429155f8dfa44a183b509866e852.tar.xz linux-89320c9785e8429155f8dfa44a183b509866e852.zip |
ARM: 9329/1: kasan: Use memblock_alloc_try_nid_raw for shadow page
kasan_pte_populate fill KASAN_SHADOW_INIT in the newly
allocated shadow page, so it's unnecessary to
use memblock_alloc_try_nid, which always zero the
new allocated memory.
Use memblock_alloc_try_nid_raw instead of
memblock_alloc_try_nid like arm64 does which
can make kasan init faster.
Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mm/init.c')
0 files changed, 0 insertions, 0 deletions