diff options
| author | Peter Xu <[email protected]> | 2022-12-16 10:52:23 -0500 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-18 17:12:39 -0800 |
| commit | eefc7fa53608920203a1402ecf7255ecfa8bb030 (patch) | |
| tree | 36b0442895fa08651d505d449c7eb1a3c96bd426 /include | |
| parent | 7d049f3a03ea705522210d70b9d3e223ef86d663 (diff) | |
mm/hugetlb: make follow_hugetlb_page() safe to pmd unshare
Since follow_hugetlb_page() walks the pgtable, it needs the vma lock to
make sure the pgtable page will not be freed concurrently.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Reviewed-by: John Hubbard <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: James Houghton <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: Miaohe Lin <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Nadav Amit <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions