+13
−16
Loading
If the pte_protnone() is true, we could avoid unnecessary struct page accessing and reduce cache footprint when scanning page tables for prot numa, there was a similar change before, see more commit a818f536 ("autonuma: reduce cache footprint when scanning page tables"). Link: https://lkml.kernel.org/r/20251023113737.3572790-3-wangkefeng.wang@huawei.com Signed-off-by:Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by:
Zi Yan <ziy@nvidia.com> Acked-by:
David Hildenbrand <david@redhat.com> Reviewed-by:
Dev Jain <dev.jain@arm.com> Reviewed-by:
Sidhartha Kumar <sidhartha.kumar@oracle.com> Reviewed-by:
Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Barry Song <baohua@kernel.org> Cc: Lance Yang <lance.yang@linux.dev> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Ryan Roberts <ryan.roberts@arm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>