]> Git Repo - linux.git/commit - fs/userfaultfd.c
mm/hugetlb: make userfaultfd_huge_must_wait() safe to pmd unshare
authorPeter Xu <[email protected]>
Fri, 16 Dec 2022 15:52:17 +0000 (10:52 -0500)
committerAndrew Morton <[email protected]>
Thu, 19 Jan 2023 01:12:38 +0000 (17:12 -0800)
commitb8da2e466000b232a6b67072bbef375061142daa
treee5ed8a49efb457d6f2018948396936caeb4f7dba
parentfcd48540d188876c917a377d81cd24c100332a62
mm/hugetlb: make userfaultfd_huge_must_wait() safe to pmd unshare

We can take the hugetlb walker lock, here taking vma lock directly.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Reviewed-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]>
fs/userfaultfd.c
This page took 0.051473 seconds and 4 git commands to generate.