mbox series

[v2,0/3] A few cleanup and fixup patches for swap

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

Message

Miaohe Lin June 8, 2022, 2:40 p.m. UTC
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(-)

Comments

Andrew Morton June 17, 2022, 2:37 a.m. UTC | #1
On Wed, 8 Jun 2022 22:40:28 +0800 Miaohe Lin <linmiaohe@huawei.com> wrote:

> 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. 

It would be nice to get [1/3] reviewed please.
Miaohe Lin June 17, 2022, 3 a.m. UTC | #2
On 2022/6/17 10:37, Andrew Morton wrote:
> On Wed, 8 Jun 2022 22:40:28 +0800 Miaohe Lin <linmiaohe@huawei.com> wrote:
> 
>> 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. 
> 
> It would be nice to get [1/3] reviewed please.

I'd like too.

Hi David & Hugh & Huang, Ying,
It's very kind of you if you can help review this patch!

Thanks!

BTW: It should be convenient if there are mm/swap reviewers. ;)

> 
> 
> .
>