mm/hugetlb: Add some new generic fallbacks
Status from this message: [merged] mm-hugetlb-define-a-generic-fallback-for-arch_clear_hugepage_flags.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 7 repliesApplied 3/3
- v23 patches 2 repliesSuperseded
- v13 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- Added READ_ONCE() in generic huge_ptep_get() per Will
Patches in v3 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64/mm: Drop __HAVE_ARCH_HUGE_PTEP_GETarch/ include/ | +1 | 3 replies | Applied |
| 2/3 | mm/hugetlb: Define a generic fallback for is_hugepage_only_range()arch/ arch/ arch/ +9 more | +11 | 3 replies | Applied |
| 3/3 | mm/hugetlb: Define a generic fallback for arch_clear_hugepage_flags()arch/ arch/ arch/ +9 more | +9 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Mike Kravetz |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V3 0/3] mm/hugetlb: Add some new generic fallbacks
This series adds the following new generic fallbacks. Before that it drops __HAVE_ARCH_HUGE_PTEP_GET from arm64 platform.
1. is_hugepage_only_range()
2. arch_clear_hugepage_flags()
This has been boot tested on arm64 and x86 platforms but built tested on some more platforms including the changed ones here. This series applies on v5.7-rc4. After this arm (32 bit) remains the sole platform defining it's own huge_ptep_get() via __HAVE_ARCH_HUGE_PTEP_GET.
Changes in V3:
- Added READ_ONCE() in generic huge_ptep_get() per Will
Changes in V2: (https://patchwork.kernel.org/project/linux-mm/list/?series=282947)
- Adopted "#ifndef func" method (adding a single symbol to namespace) per Andrew
- Updated the commit messages in [PATCH 2/3] and [PATCH 3/3] as required
Changes in V1: (https://patchwork.kernel.org/project/linux-mm/list/?series=270677)
Anshuman Khandual (3):
arm64/mm: Drop __HAVE_ARCH_HUGE_PTEP_GET
mm/hugetlb: Define a generic fallback for is_hugepage_only_range() mm/hugetlb: Define a generic fallback for arch_clear_hugepage_flags()
arch/arm/include/asm/hugetlb.h | 7 +------ arch/arm64/include/asm/hugetlb.h | 13 +------------ arch/ia64/include/asm/hugetlb.h | 5 +---- arch/mips/include/asm/hugetlb.h | 11 ----------- arch/parisc/include/asm/hugetlb.h | 10 ---------- arch/powerpc/include/asm/hugetlb.h | 5 +---- arch/riscv/include/asm/hugetlb.h | 10 ---------- arch/s390/include/asm/hugetlb.h | 8 +------- arch/sh/include/asm/hugetlb.h | 7 +------ arch/sparc/include/asm/hugetlb.h | 10 ---------- arch/x86/include/asm/hugetlb.h | 10 ---------- include/asm-generic/hugetlb.h | 2 +- include/linux/hugetlb.h | 14 ++++++++++++++ 13 files changed, 21 insertions(+), 91 deletions(-)
Signature · 1 line
2.20.1