aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-10-06 20:53:16 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-10-18 14:34:14 -0700
commit4de8c93a4751e10737b6af65db42c743228c67a6 (patch)
treed18ccc83e8de51ec6d9ed2e4ce7ff34f6245b64a /mm/hugetlb.c
parentmm: handle shared faults under the VMA lock (diff)
downloadwireguard-linux-4de8c93a4751e10737b6af65db42c743228c67a6.tar.xz
wireguard-linux-4de8c93a4751e10737b6af65db42c743228c67a6.zip
mm: handle COW faults under the VMA lock
If the page is not currently present in the page tables, we need to call the page fault handler to find out which page we're supposed to COW, so we need to both check that there is already an anon_vma and that the fault handler doesn't need the mmap_lock. Link: https://lkml.kernel.org/r/20231006195318.4087158-5-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions