summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMuchun Song <songmuchun@bytedance.com>2023-11-27 16:46:44 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-12-10 16:51:54 -0800
commitbe035a2acf1fa03caf77daff7d8a424f395cfb4c (patch)
treebbc7c8f5c12bbbdb864b92d0c8858220aae9deed /tools/perf/scripts/python
parentfb93ed63345f67f676cd3569057e8e7c2b58aed7 (diff)
downloadlinux-be035a2acf1fa03caf77daff7d8a424f395cfb4c.tar.gz
linux-be035a2acf1fa03caf77daff7d8a424f395cfb4c.zip
mm: hugetlb_vmemmap: move PageVmemmapSelfHosted() check to split_vmemmap_huge_pmd()
To check a page whether it is self-hosted needs to traverse the page table (e.g. pmd_off_k()), however, we already have done this in the next calling of vmemmap_remap_range(). Moving PageVmemmapSelfHosted() check to vmemmap_pmd_entry() could simplify the code a bit. Link: https://lkml.kernel.org/r/20231127084645.27017-4-songmuchun@bytedance.com Signed-off-by: Muchun Song <songmuchun@bytedance.com> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions