--- zzzz-none-000/linux-5.4.213/mm/rmap.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/mm/rmap.c 2024-08-14 09:02:12.000000000 +0000 @@ -1667,6 +1667,7 @@ } dec_mm_counter(mm, MM_ANONPAGES); inc_mm_counter(mm, MM_SWAPENTS); + inc_mm_counter(mm, MM_SWAPOUTS); swp_pte = swp_entry_to_pte(entry); if (pte_soft_dirty(pteval)) swp_pte = pte_swp_mksoft_dirty(swp_pte);