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

Miaohe Lin posted 3 patches 3 years, 10 months ago
There is a newer version of this series
mm/swap_state.c | 17 -----------------
mm/swapfile.c   | 14 +++++++++-----
2 files changed, 9 insertions(+), 22 deletions(-)
[PATCH v2 0/3] A few cleanup and fixup patches for swap
Posted by Miaohe Lin 3 years, 10 months ago
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
Re: [PATCH v2 0/3] A few cleanup and fixup patches for swap
Posted by Andrew Morton 3 years, 10 months ago
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.
Re: [PATCH v2 0/3] A few cleanup and fixup patches for swap
Posted by Miaohe Lin 3 years, 10 months ago
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. ;)

> 
> 
> .
>