On Tue, Mar 05, 2024 at 12:37:46PM +0800, pet...@redhat.com wrote:
> From: Peter Xu
>
> There is an old trick in shadow_mapped() to use pXd_bad() to detect huge
> pages. After commit 93fab1b22ef7 ("mm: add generic p?d_leaf() macros") we
> have a global API for huge mappings. Use that to replace
From: Peter Xu
There is an old trick in shadow_mapped() to use pXd_bad() to detect huge
pages. After commit 93fab1b22ef7 ("mm: add generic p?d_leaf() macros") we
have a global API for huge mappings. Use that to replace the trick.
Cc: Andrey Ryabinin
Cc: Alexander Potapenko
Cc: Andrey Konoval