lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <618D4D49-EAE3-42EC-9B51-BB45996B7D2D@nvidia.com>
Date: Fri, 25 Apr 2025 07:40:11 -0400
From: Zi Yan <ziy@...dia.com>
To: Gavin Guo <gavinguo@...lia.com>
Cc: linux-mm@...ck.org, akpm@...ux-foundation.org, gshan@...hat.com,
 david@...hat.com, willy@...radead.org, linmiaohe@...wei.com,
 hughd@...gle.com, revest@...gle.com, kernel-dev@...lia.com,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] mm/huge_memory: Remove useless folio pointers
 passing

On 25 Apr 2025, at 6:38, Gavin Guo wrote:

> Since the previous commit "mm/huge_memory: Adjust try_to_migrate_one() and
> split_huge_pmd_locked()" has simplified the logic by leveraging the
> folio verification in page_vma_mapped_walk(), this patch removes the
> unnecessary folio pointers passing.
>
> Suggested-by: David Hildenbrand <david@...hat.com>
> Link: https://lore.kernel.org/all/98d1d195-7821-4627-b518-83103ade56c0@redhat.com/
> Link: https://lore.kernel.org/all/91599a3c-e69e-4d79-bac5-5013c96203d7@redhat.com/
> Signed-off-by: Gavin Guo <gavinguo@...lia.com>
> Acked-by: David Hildenbrand <david@...hat.com>
> ---
>  include/linux/huge_mm.h | 15 +++++++--------
>  mm/huge_memory.c        | 16 ++++++++--------
>  mm/memory.c             |  4 ++--
>  mm/mprotect.c           |  2 +-
>  mm/rmap.c               |  4 ++--
>  5 files changed, 20 insertions(+), 21 deletions(-)
>

LGTM. Thanks. Reviewed-by: Zi Yan <ziy@...dia.com>

--
Best Regards,
Yan, Zi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ