mm/kasan: zero_p4d_populate() problem?
Hello, Kirill.
I found that zero_p4d_populate() in mm/kasan/kasan_init.c of next-20170511 doesn't get the benefit of the kasan_zero_pud. Do we need to fix it by adding "pud_populate(&init_mm, pud, lm_alias(kasan_zero_pud));" when alignment requirement is met?
Thanks.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 7 lines · Joonsoo Kim
Hello, Kirill.
I found that
zero_p4d_populate()inmm/kasan/kasan_init.cof next-20170511 doesn't get the benefit of thekasan_zero_pud. Do we need to fix it by adding "pud_populate(&init_mm, pud, lm_alias(kasan_zero_pud));" when alignment requirement is met?
It's not a fix, but optimization. But it makes sense to implement this.
Feel free to send a patch.
Signature · 7 lines
Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>