All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drop hugetlb_free_pgd_range()
@ 2025-07-16  1:26 Anthony Yznaga
  2025-07-16  1:26 ` [PATCH 1/3] sparc64: remove hugetlb_free_pgd_range() Anthony Yznaga
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Anthony Yznaga @ 2025-07-16  1:26 UTC (permalink / raw)
  To: davem, andreas, arnd, muchun.song, osalvador, akpm, david,
	lorenzo.stoakes, Liam.Howlett, vbabka, rppt, surenb, mhocko
  Cc: linux-mm, sparclinux, linux-arch, linux-kernel, alexghiti,
	agordeev, anshuman.khandual, christophe.leroy, ryan.roberts, will

For all architectures that support hugetlb except for sparc,
hugetlb_free_pgd_range() just calls free_pgd_range(). It turns out
the sparc implementation is essentially identical to free_pgd_range()
and can be removed. Remove it and update free_pgtables() to treat
hugetlb VMAs the same as others.

Anthony Yznaga (3):
  sparc64: remove hugetlb_free_pgd_range()
  mm: remove call to hugetlb_free_pgd_range()
  mm: drop hugetlb_free_pgd_range()

 arch/sparc/include/asm/hugetlb.h |   5 --
 arch/sparc/mm/hugetlbpage.c      | 119 -------------------------------
 include/asm-generic/hugetlb.h    |   9 ---
 include/linux/hugetlb.h          |   7 --
 mm/memory.c                      |  42 +++++------
 5 files changed, 18 insertions(+), 164 deletions(-)

-- 
2.47.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-07-25  7:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16  1:26 [PATCH 0/3] drop hugetlb_free_pgd_range() Anthony Yznaga
2025-07-16  1:26 ` [PATCH 1/3] sparc64: remove hugetlb_free_pgd_range() Anthony Yznaga
2025-07-16  8:20   ` David Hildenbrand
2025-07-16 16:42     ` Anthony Yznaga
2025-07-16  1:26 ` [PATCH 2/3] mm: remove call to hugetlb_free_pgd_range() Anthony Yznaga
2025-07-16  1:26 ` [PATCH 3/3] mm: drop hugetlb_free_pgd_range() Anthony Yznaga
2025-07-16  6:36 ` [PATCH 0/3] " Mike Rapoport
2025-07-16  8:05 ` Oscar Salvador
2025-07-16  8:16   ` Oscar Salvador
2025-07-25  7:50 ` John Paul Adrian Glaubitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.