mm-remove-config_arch_has_hugepd.patch removed from -mm tree
The quilt patch titled
Subject: mm: remove CONFIG_ARCH_HAS_HUGEPD
has been removed from the -mm tree. Its filename was
mm-remove-config_arch_has_hugepd.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Christophe Leroy <[email protected]>
Subject: mm: remove CONFIG_ARCH_HAS_HUGEPD
Date: Tue, 2 Jul 2024 15:51:35 +0200
powerpc was the only user of CONFIG_ARCH_HAS_HUGEPD and doesn't use it anymore, so remove all related code.
Link https://lkml.kernel.org/r/4b10c54c794780b955f3ad6c657d0199dd792146.1719928057.git.christophe.leroy@csgroup.eu open here
Signed-off-by Christophe Leroy <[email protected]>
Acked-by Oscar Salvador <[email protected]>
Cc Jason Gunthorpe <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Peter Xu <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/hugetlb.h | 6 - mm/Kconfig | 10 - mm/gup.c | 194 -------------------------------------- mm/pagewalk.c | 57 ----------- 4 files changed, 9 insertions(+), 258 deletions(-)
include/linux/hugetlb.h renamed from include/linux/hugetlb.h~mm-remove-config_arch_has_hugepd +0 -6
@@ -20,12 +20,6 @@ struct user_struct;struct mmu_gather ;struct node ; -#ifndef CONFIG_ARCH_HAS_HUGEPD -typedef struct {unsigned long pd; }hugepd_t ; -#define is_hugepd (hugepd) (0) -#define __hugepd (x) ((hugepd_t) { (x) }) -#endif -void free_huge_folio (struct folio *folio);#ifdef CONFIG_HUGETLB_PAGE
mm/gup.c renamed from mm/gup.c~mm-remove-config_arch_has_hugepd +5 -189
254 lines not on this page · raw message
mm/Kconfig renamed from mm/Kconfig~mm-remove-config_arch_has_hugepd +0 -10
@@ -1126,16 +1126,6 @@ config DMAPOOL_TEST config ARCH_HAS_PTE_SPECIAL bool -# -# Some architectures require a special hugepage directory format that is -# required to support multiple hugepage sizes. For example a4fe3ce76 -# "powerpc/mm: Allow more flexible layouts for hugepage pagetables" -# introduced it on powerpc. This allows for a more flexible hugepage -# pagetable layouts. -# -config ARCH_HAS_HUGEPD - bool - config MAPPING_DIRTY_HELPERS bool
mm/pagewalk.c renamed from mm/pagewalk.c~mm-remove-config_arch_has_hugepd +4 -53
87 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are