diff options
| author | Mike Kravetz <[email protected]> | 2022-12-12 15:50:42 -0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-18 17:12:38 -0800 |
| commit | 379c2e60e82ff71510a949033bf8431f39f66c75 (patch) | |
| tree | 5bd9816d9fdc70e61c1f471ef12534c1c3921025 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 11f75a01448f1b7a739e75dbd8f17b844fcfc510 (diff) | |
hugetlb: update vma flag check for hugetlb vma lock
The check for whether a hugetlb vma lock exists partially depends on the
vma's flags. Currently, it checks for either VM_MAYSHARE or VM_SHARED.
The reason both flags are used is because VM_MAYSHARE was previously
cleared in hugetlb vmas as they are tore down. This is no longer the
case, and only the VM_MAYSHARE check is required.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Kravetz <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Cc: "Aneesh Kumar K.V" <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: James Houghton <[email protected]>
Cc: Mina Almasry <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Peter Xu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions