aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorPeter Xu <[email protected]>2024-04-02 21:32:47 -0400
committerAndrew Morton <[email protected]>2024-04-25 20:56:23 -0700
commitc0bff412e67b781d761e330ff9578aa9ed2be79e (patch)
tree65b60ea432cbf8aae19b4e123ce33333b210ea40 /tools/perf/scripts/python/netdev-times.py
parent9cb28da54643ad464c47585cd5866c30b0218e67 (diff)
mm: allow anon exclusive check over hugetlb tail pages
PageAnonExclusive() used to forbid tail pages for hugetlbfs, as that used to be called mostly in hugetlb specific paths and the head page was guaranteed. As we move forward towards merging hugetlb paths into generic mm, we may start to pass in tail hugetlb pages (when with cont-pte/cont-pmd huge pages) for such check. Allow it to properly fetch the head, in which case the anon-exclusiveness of the head will always represents the tail page. There's already a sign of it when we look at the GUP-fast which already contain the hugetlb processing altogether: we used to have a specific commit 5805192c7b72 ("mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP-fast") covering that area. Now with this more generic change, that can also go away. [[email protected]: simplify PageAnonExclusive(), per Matthew] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peter Xu <[email protected]> Acked-by: David Hildenbrand <[email protected]> Cc: Huacai Chen <[email protected]> Cc: Jason Gunthorpe <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: WANG Xuerui <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions