--- zzzz-none-000/linux-4.4.60/mm/rmap.c 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-1750e-727/linux-4.4.60/mm/rmap.c 2021-02-04 17:41:59.000000000 +0000 @@ -1413,6 +1413,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);