mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "mm: sync rss in speculative page fault path"
This commit is contained in:
commit
917e0c522c
1 changed files with 1 additions and 0 deletions
|
|
@ -4417,6 +4417,7 @@ int __handle_speculative_fault(struct mm_struct *mm, unsigned long address,
|
|||
* If there is no need to retry, don't return the vma to the caller.
|
||||
*/
|
||||
if (ret != VM_FAULT_RETRY) {
|
||||
check_sync_rss_stat(current);
|
||||
if (vma_is_anonymous(vmf.vma))
|
||||
count_vm_event(SPECULATIVE_PGFAULT_ANON);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue