From: Kairui Song <kasong@xxxxxxxxxxx> This series cleanup some code path, saves a few cycles and reduce the object size by a bit, also fixes some rare race issue of statistics. Kairui Song (5): swapfile: get rid of volatile and avoid redundant read swap: avoid a redundant pte map if ra window is 1 swap: fold swap_ra_clamp_pfn into swap_ra_info swap: remove the swap lock in swap_cache_get_folio swap: avoid ra statistic lost when swapin races mm/shmem.c | 8 +++++- mm/swap_state.c | 66 +++++++++++++++++++------------------------------ mm/swapfile.c | 7 +++--- 3 files changed, 36 insertions(+), 45 deletions(-) -- 2.35.2