[PATCH 0/5] Clean up and fixes for swap

Kairui Song posted 5 patches 2 years, 9 months ago
There is a newer version of this series
mm/shmem.c      |  8 +++++-
mm/swap_state.c | 66 +++++++++++++++++++------------------------------
mm/swapfile.c   |  7 +++---
3 files changed, 36 insertions(+), 45 deletions(-)
[PATCH 0/5] Clean up and fixes for swap
Posted by Kairui Song 2 years, 9 months ago
From: Kairui Song <kasong@tencent.com>

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