diff options
author | Peter Xu <peterx@redhat.com> | 2022-12-16 16:52:17 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-19 02:12:38 +0100 |
commit | b8da2e466000b232a6b67072bbef375061142daa (patch) | |
tree | e5ed8a49efb457d6f2018948396936caeb4f7dba /fs/affs | |
parent | mm/hugetlb: move swap entry handling into vma lock when faulted (diff) | |
download | linux-b8da2e466000b232a6b67072bbef375061142daa.tar.xz linux-b8da2e466000b232a6b67072bbef375061142daa.zip |
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/20221216155217.2043700-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: James Houghton <jthoughton@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Cc: Rik van Riel <riel@surriel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions