Commit 35eacb5c authored by Vinayak Menon's avatar Vinayak Menon Committed by Todd Kjos
Browse files

ANDROID: mm: allow vmas with vm_ops to be speculatively handled



Right now only anonymous page faults are speculatively handled,
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 enables speculative fault for ext4, f2fs and shmem. The
feature is disabled by default and enabled via allow_file_spec_access
kernel param.

Bug: 171954515
Change-Id: I0d23ebf299000e4ac5e2c71bc0b7fc9006e98da9
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 77e79186
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment