diff options
| author | Muchun Song <[email protected]> | 2023-11-27 16:46:44 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:54 -0800 |
| commit | be035a2acf1fa03caf77daff7d8a424f395cfb4c (patch) | |
| tree | bbc7c8f5c12bbbdb864b92d0c8858220aae9deed /tools/perf/scripts/python/flamegraph.py | |
| parent | fb93ed63345f67f676cd3569057e8e7c2b58aed7 (diff) | |
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/[email protected]
Signed-off-by: Muchun Song <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: Kefeng Wang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions