mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Revert "mm: fix non-anon COW fault"
This reverts commit 1b7ca44c71.
Change-Id: I3feb16538efb3b7260cfac8404f9ad68b150a64c
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
This commit is contained in:
parent
5f80d03c8c
commit
ec928f71b9
1 changed files with 1 additions and 1 deletions
|
|
@ -4461,7 +4461,7 @@ int __handle_speculative_fault(struct mm_struct *mm, unsigned long address,
|
|||
if (unlikely((vma_is_anonymous(vmf.vma) && !vmf.vma->anon_vma) ||
|
||||
(!vma_is_anonymous(vmf.vma) &&
|
||||
!(vmf.vma->vm_flags & VM_SHARED) &&
|
||||
(flags & FAULT_FLAG_WRITE) &&
|
||||
(vmf.flags & FAULT_FLAG_WRITE) &&
|
||||
!vmf.vma->anon_vma)))
|
||||
return VM_FAULT_RETRY;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue