diff options
| author | Gerald Schaefer <[email protected]> | 2022-09-11 20:26:01 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:26:01 -0700 |
| commit | 1a6baaa0db733c0dca2e170ca1df2b09834f47ce (patch) | |
| tree | bf954034cfafcf8ed9b678b83dec73510d8870d2 /tools/perf/scripts | |
| parent | 1813e51eece0ad6f4aacaeb738e7cced46feb470 (diff) | |
s390/hugetlb: switch to generic version of follow_huge_pud()
When pud-sized hugepages were introduced for s390, the generic version of
follow_huge_pud() was using pte_page() instead of pud_page(). This would
be wrong for s390, see also commit 97534127012f ("mm/hugetlb: use
pmd_page() in follow_huge_pmd()"). Therefore, and probably because not
all archs were supporting pud_page() at that time, a private version of
follow_huge_pud() was added for s390, correctly using pud_page().
Since commit 3a194f3f8ad01 ("mm/hugetlb: make pud_huge() and
follow_huge_pud() aware of non-present pud entry"), the generic version of
follow_huge_pud() is now also using pud_page(), and in general behaves
similar to follow_huge_pmd().
Therefore we can now switch to the generic version and get rid of the
s390-specific follow_huge_pud().
Link: https://lkml.kernel.org/r/20220818135717.609eef8a@thinkpad
Signed-off-by: Gerald Schaefer <[email protected]>
Cc: Haiyue Wang <[email protected]>
Cc: Miaohe Lin <[email protected]>
Cc: "Huang, Ying" <[email protected]>
Cc: Baolin Wang <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions