mm:Fix conflict of speculative fault and MGLRU
the LRU algorithm doesn't apply to sequential or random reads handle this case in speculative fault Moto-CRs-Fixed:(CR) Change-Id: Ia968c3903e05ee0acb6ae503537ece47e80b099f Signed-off-by: a17671 <a17671@motorola.com> Reviewed-on: https://gerrit.mot.com/2270849 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
d3d2daf25e
commit
d0c00b17a0
1 file changed
+2
@@ -4791,7 +4791,9 @@ int __handle_speculative_fault(struct mm_struct *mm, unsigned long address,
|
||||
}
|
||||
|
||||
mem_cgroup_enter_user_fault();
|
||||
lru_gen_enter_fault(vmf.vma);
|
||||
ret = handle_pte_fault(&vmf);
|
||||
lru_gen_exit_fault();
|
||||
mem_cgroup_exit_user_fault();
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user