linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] A few cleanup and fixup patches for swap
@ 2022-06-25  9:33 Miaohe Lin
  2022-06-25  9:33 ` [PATCH v3 1/2] mm/swapfile: fix possible data races of inuse_pages Miaohe Lin
  2022-06-25  9:33 ` [PATCH v3 2/2] mm/swap: remove swap_cache_info statistics Miaohe Lin
  0 siblings, 2 replies; 8+ messages in thread
From: Miaohe Lin @ 2022-06-25  9:33 UTC (permalink / raw)
  To: akpm
  Cc: david, ying.huang, songmuchun, quic_qiancai, linux-mm,
	linux-kernel, linmiaohe

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-28  1:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-25  9:33 [PATCH v3 0/2] A few cleanup and fixup patches for swap Miaohe Lin
2022-06-25  9:33 ` [PATCH v3 1/2] mm/swapfile: fix possible data races of inuse_pages Miaohe Lin
2022-06-27  1:29   ` Huang, Ying
2022-06-27 12:43   ` Qian Cai
2022-06-27 13:27     ` Miaohe Lin
2022-06-27 13:47       ` Qian Cai
2022-06-28  1:56         ` Huang, Ying
2022-06-25  9:33 ` [PATCH v3 2/2] mm/swap: remove swap_cache_info statistics Miaohe Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox