Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0947fbfe authored by Vinayak Menon's avatar Vinayak Menon
Browse files

mm: allow vmas with vm_ops to be speculatively handled



Right now only anonymous pages are speculatively faulted, thus
leaving out a large percentage of faults still requiring to
take mmap_sem. These were left out since there can be fault
handlers mainly in the fs layer which may use vma in unknown
ways. This patch covers filemap_fault and shmem_fault and
enables speculative fault for all those vmas with vm_ops.
None of the other common fault handlers is seen to use or
modify vma.

Change-Id: I4f87909002f7ac64945f048ba0169a4cac7a15ab
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent cf8acfa8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment