[PATCH v3 0/2] A few cleanup and fixup patches for swap
From: Miaohe Lin
Date: Sat Jun 25 2022 - 05:33:52 EST
Hi everyone,
This series contains a cleaup patch to remove unneeded swap_cache_info
statistics, and a bugfix patch to avoid data races of inuse_pages. More
details can be found in the respective changelogs. Thanks!
---
v3:
rebase on linux-next-20220624
drop patch 1/3 per Huang, Ying
collect Reviewed-by tag per David, Muchun, Acked-by tag per Huang, Ying
use WRITE_ONCE to pair with READ_ONCE in patch 2/3
v2:
collect Reviewed-by tag per David
drop patch "mm/swapfile: avoid confusing swap cache statistics"
add a new patch to remove swap_cache_info statistics per David
Many thanks David for review and comment.
---
Miaohe Lin (2):
mm/swapfile: fix possible data races of inuse_pages
mm/swap: remove swap_cache_info statistics
mm/swap_state.c | 17 -----------------
mm/swapfile.c | 8 ++++----
2 files changed, 4 insertions(+), 21 deletions(-)
--
2.23.0