mbox series

[0/3] mm: minor cleanups in rmap and memory-failure

Message ID 20250418075226.695014-1-ye.liu@linux.dev (mailing list archive)
Headers show
Series mm: minor cleanups in rmap and memory-failure | expand

Message

Ye Liu April 18, 2025, 7:52 a.m. UTC
From: Ye Liu <liuye@kylinos.cn>

Minor cleanups in mm/rmap.c and mm/memory-failure.c:

- Rename a local variable for consistency
- Fix a typo in a comment
- Inline a trivial helper function to its call sites

No functional changes.

Ye Liu (3):
  mm/rmap: rename page__anon_vma to page_anon_vma for consistency
  mm/rmap: fix typo in comment in page_address_in_vma
  mm/memory-failure: inline add_to_kill_anon_file() logic at call sites

 mm/memory-failure.c | 15 ++++-----------
 mm/rmap.c           | 10 +++++-----
 2 files changed, 9 insertions(+), 16 deletions(-)

Comments

Lorenzo Stoakes April 18, 2025, 9:12 a.m. UTC | #1
Hi Ye,

I asked you in the other thread to cc- rmap stuff to a number of people
while we sort out the MAINTAINERS file, please do try to do so in future. I
caught this due to a lei rule but otherwise we might miss it.

I have added the cc's here for you manually. Thanks!

On Fri, Apr 18, 2025 at 03:52:23PM +0800, Ye Liu wrote:
> From: Ye Liu <liuye@kylinos.cn>
>
> Minor cleanups in mm/rmap.c and mm/memory-failure.c:
>
> - Rename a local variable for consistency
> - Fix a typo in a comment
> - Inline a trivial helper function to its call sites
>
> No functional changes.
>
> Ye Liu (3):
>   mm/rmap: rename page__anon_vma to page_anon_vma for consistency
>   mm/rmap: fix typo in comment in page_address_in_vma
>   mm/memory-failure: inline add_to_kill_anon_file() logic at call sites
>
>  mm/memory-failure.c | 15 ++++-----------
>  mm/rmap.c           | 10 +++++-----
>  2 files changed, 9 insertions(+), 16 deletions(-)
>
> --
> 2.25.1
>