--- zzzz-none-000/linux-4.4.271/mm/rmap.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/mm/rmap.c 2023-01-11 09:25:44.000000000 +0000 @@ -1488,6 +1488,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);