Commit b969bf4c authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by fengqi
Browse files

UPSTREAM: mm: handle write faults to RO pages under the VMA lock

I think this is a pretty rare occurrence, but for consistency handle
faults with the VMA lock held the same way that we handle other faults
with the VMA lock held.

Link: https://lkml.kernel.org/r/20231006195318.4087158-7-willy@infradead.org


Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: default avatarSuren Baghdasaryan <surenb@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 4a68fef1)

Bug: 293665307
Bug: 332639610
Change-Id: I69cec218c8a1fe14df3268722e6b1be6dffe7978
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Signed-off-by: default avatarfengqi <fengqi@xiaomi.corp-partner.google.com>
parent f603b02f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment