lkml.org 
[lkml]   [2022]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] A few cleanup and fixup patches for swap
Date
Hi everyone,
This series contains a cleaup patch to remove unneeded swap_cache_info
statistics, and two bugfix patches to avoid possible data races of
inuse_pages and so on. More details can be found in the respective
changelogs. Thanks!

---
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 (3):
mm/swapfile: make security_vm_enough_memory_mm() work as expected
mm/swapfile: fix possible data races of inuse_pages
mm/swap: remove swap_cache_info statistics

mm/swap_state.c | 17 -----------------
mm/swapfile.c | 14 +++++++++-----
2 files changed, 9 insertions(+), 22 deletions(-)

--
2.23.0

\
 
 \ /
  Last update: 2022-06-08 16:46    [W:0.156 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site