mbox series

[v3,0/2] A few cleanup and fixup patches for swap

Message ID 20220625093346.48894-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series A few cleanup and fixup patches for swap | expand

Message

Miaohe Lin June 25, 2022, 9:33 a.m. UTC
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(-)