diff options
| author | Muchun Song <songmuchun@bytedance.com> | 2023-11-27 16:46:44 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-10 16:51:54 -0800 |
| commit | be035a2acf1fa03caf77daff7d8a424f395cfb4c (patch) | |
| tree | bbc7c8f5c12bbbdb864b92d0c8858220aae9deed /tools/perf/scripts/python | |
| parent | fb93ed63345f67f676cd3569057e8e7c2b58aed7 (diff) | |
| download | linux-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
