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-next>] [day] [month] [year] [list]
Message-ID: <20250425103859.825879-1-gavinguo@igalia.com>
Date: Fri, 25 Apr 2025 18:38:57 +0800
From: Gavin Guo <gavinguo@...lia.com>
To: linux-mm@...ck.org,
	akpm@...ux-foundation.org
Cc: gshan@...hat.com,
	david@...hat.com,
	willy@...radead.org,
	ziy@...dia.com,
	linmiaohe@...wei.com,
	hughd@...gle.com,
	revest@...gle.com,
	kernel-dev@...lia.com,
	linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] Clean up split_huge_pmd_locked() and remove unnecessary folio pointers

The patch series enhance the folio verification by leveraging the
existing page_vma_mapped_walk() mechanism and removing redundant
folio pointers passing.

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/

Gavin Guo (2):
  mm/huge_memory: Adjust try_to_migrate_one() and
    split_huge_pmd_locked()
  mm/huge_memory: Remove useless folio pointers passing

 include/linux/huge_mm.h | 15 +++++++--------
 mm/huge_memory.c        | 37 ++++++++++---------------------------
 mm/memory.c             |  4 ++--
 mm/mprotect.c           |  2 +-
 mm/rmap.c               | 20 ++++++++++----------
 5 files changed, 30 insertions(+), 48 deletions(-)

V1 -> V2:
  1). Separate the logic into
    - Adjust try_to_migrate_one() and split_huge_pmd_locked
    - Remove useless folio pointers passing

  2). Remove the unnecessary comments and brances around if condition. 

base-commit: 02ddfb981de88a2c15621115dd7be2431252c568
prerequisite-patch-id: 9c9c975b11ad0f73acd863049b4f1732caa04e53
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ