Revert "mm: sync rss in speculative page fault path"

This reverts commit 6011ee7ef2.

Change-Id: I9192d3ad2a32e2f284248d6ccdc936eed48a7a61
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
This commit is contained in:
Alexander Winkowski 2024-01-12 05:10:42 +00:00
commit d4119e8381
No known key found for this signature in database
GPG key ID: 72762A66704CDE44

View file

@ -4588,7 +4588,6 @@ 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