mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
Revert "Revert "BACKPORT: FROMLIST: ext4: implement speculative fault handling""
This reverts commit 7a67b48b624b3f23cd4c7ee2ebfbba45d0b00f28. The original commit was reverted due to the issue in speculative handling of file-backed pages. Now that the fix is implemented by disabling interrupts when walking the page tables this functionality can be re-enabled. Bug: 245389404 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Ib33a02757eaab60e829941ccfd0f9caa15991282
This commit is contained in:
@@ -774,6 +774,7 @@ static const struct vm_operations_struct ext4_file_vm_ops = {
|
||||
.fault = filemap_fault,
|
||||
.map_pages = filemap_map_pages,
|
||||
.page_mkwrite = ext4_page_mkwrite,
|
||||
.speculative = true,
|
||||
};
|
||||
|
||||
static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
|
||||
Reference in New Issue
Block a user