huge vmalloc mappings
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v13 Latest14 patches 8 repliesIn review 13 of 14 applied
- v1214 patches 8 repliesSuperseded
- v1113 patches 12 repliesSuperseded
Earlier versions · 11
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v10 | 12 patches | 21 replies | Superseded | |
| v9 | 12 patches | 3 replies | Superseded | |
| v8 | 12 patches | 6 replies | Superseded | |
| v7 | 12 patches | 4 replies | Superseded | |
| v6 | 12 patches | 7 replies | Superseded | |
| v5 | 8 patches | 11 replies | Superseded | |
| v4 | 8 patches | 1 reply | Superseded | |
| v3 | 8 patches | 5 replies | Superseded | |
| v2 posting 2/2 | 4 patches | 18 replies | Superseded | |
| v2 posting 1/2 | 3 patches | 4 replies | Superseded | |
| v1 | 3 patches | 8 replies | Superseded |
Changes in v13 from the cover letter
- Use compound pages so it works with remap_vmalloc_range [noticed by Ding]
- Fix debug_vm_pgtable.c compile error.
Patches in v13 13 of 14 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | ARM: mm: add missing pud_page define to 2-level page tablesarch/ arch/ | +3 | 0 replies | Applied |
| 2/14 | mm/vmalloc: fix HUGE_VMAP regression by enabling huge pages in vmalloc_to_pagemm/ | +26 | 0 replies | Applied |
| 3/14 | mm: apply_to_pte_range warn and fail if a large pte is encounteredmm/ | +49 | 0 replies | Applied |
| 4/14 | mm/vmalloc: rename vmap_*_range vmap_pages_*_rangemm/ | +8 | 0 replies | Applied |
| 5/14 | mm/ioremap: rename ioremap_*_range to vmap_*_rangemm/ | +33 | 0 replies | Applied |
| 6/14 | mm: HUGE_VMAP arch support cleanuparch/ arch/ arch/ +8 more | +87 | 2 replies | Applied |
| 7/14 | powerpc: inline huge vmap supported functionsarch/ arch/ | +16 | 0 replies | Applied |
| 8/14 | arm64: inline huge vmap supported functionsarch/ arch/ | +20 | 0 replies | Applied |
| 9/14 | x86: inline huge vmap supported functionsarch/ arch/ arch/ | +19 | 0 replies | Applied |
| 10/14 | mm/vmalloc: provide fallback arch huge vmap support functionsarch/ arch/ arch/ +1 more | +31 | 0 replies | Applied |
| 11/14 | mm: Move vmap_range from mm/ioremap.c to mm/vmalloc.cinclude/ mm/ mm/ | +205 | 0 replies | Applied |
| 12/14 | mm/vmalloc: add vmap_range_noflush variantmm/ | +13 | 0 replies | Applied |
| 13/14 | mm/vmalloc: Hugepage vmalloc mappingsarch/ include/ mm/ +1 more | +206 | 0 replies | Applied |
| 14/14 | powerpc/64s/radix: Enable huge vmalloc mappingsDocumentation/ arch/ arch/ | +21 | 4 replies |
Reviews trailers per patch
10 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Miaohe Lin | Christoph Hellwig | Ding Tianhong | Catalin Marinas | Michael Ellerman |
|---|---|---|---|---|---|
| 1/14 | |||||
| 2/14 | R-b | R-b | |||
| 3/14 | R-b | R-b | |||
| 4/14 | R-b | R-b | |||
| 5/14 | R-b | R-b | |||
| 6/14 | R-b | A-b | |||
| 7/14 | A-b | ||||
| 8/14 | A-b | ||||
| 9/14 | |||||
| 10/14 | |||||
| 11/14 | R-b | ||||
| 12/14 | R-b | ||||
| 13/14 | |||||
| 14/14 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v13 00/14] huge vmalloc mappings
Important compound page fix thanks to Ding Tianhong.
Thanks,
Nick
Since v12:
- Use compound pages so it works with remap_vmalloc_range [noticed by Ding]
- Fix debug_vm_pgtable.c compile error.
Since v11:
- ARM compile fix (patch 1)
- debug_vm_pgtable compile fix
Since v10:
- Fixed code style, most > 80 colums, tweak patch titles, etc [thanks Christoph]
- Made huge vmalloc code and data structure compile away if unselected [Christoph]
- Archs only have to provide arch_vmap_p?d_supported for levels they implement [Christoph]
Since v9:
- Fixed intermediate build breakage on x86-32 !PAE [thanks Ding]
- Fixed small page fallback case vm_struct double-free [thanks Ding]
Since v8:
- Fixed nommu compile.
- Added Kconfig option help text
- Added VM_NOHUGE which should help archs implement it [suggested by Rick]
Since v7:
- Rebase, added some acks, compile fix
- Removed "order=" from vmallocinfo, it's a bit confusing (nr_pages is in small page size for compatibility).
- Added arch_vmap_pmd_supported() test before starting to allocate the large page, rather than only testing it when doing the map, to avoid unsupported configs trying to allocate huge pages for no reason.
Since v6:
- Fixed a false positive warning introduced in patch 2, found by kbuild test robot.
Since v5:
- Split arch changes out better and make the constant folding work
- Avoid most of the 80 column wrap, fix a reference to lib/ioremap.c
- Fix compile error on some archs
*** BLURB HERE ***
Nicholas Piggin (14):
ARM: mm: add missing pud_page define to 2-level page tables mm/vmalloc: fix HUGE_VMAP regression by enabling huge pages in
vmalloc_to_page
mm: apply_to_pte_range warn and fail if a large pte is encountered mm/vmalloc: rename vmap_*_range vmap_pages_*_range mm/ioremap: rename ioremap_*_range to vmap_*_range
mm: HUGE_VMAP arch support cleanup
powerpc: inline huge vmap supported functions
arm64: inline huge vmap supported functions
x86: inline huge vmap supported functions
mm/vmalloc: provide fallback arch huge vmap support functions
mm: Move vmap_range from mm/ioremap.c to mm/vmalloc.c mm/vmalloc: add vmap_range_noflush variant
mm/vmalloc: Hugepage vmalloc mappings powerpc/64s/radix: Enable huge vmalloc mappings
.../admin-guide/kernel-parameters.txt | 2 + arch/Kconfig | 11 + arch/arm/include/asm/pgtable-3level.h | 2 - arch/arm/include/asm/pgtable.h | 3 + arch/arm64/include/asm/vmalloc.h | 24 + arch/arm64/mm/mmu.c | 26 - arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/vmalloc.h | 20 + arch/powerpc/kernel/module.c | 22 +- arch/powerpc/mm/book3s64/radix_pgtable.c | 21 - arch/x86/include/asm/vmalloc.h | 20 + arch/x86/mm/ioremap.c | 19 - arch/x86/mm/pgtable.c | 13 - include/linux/io.h | 9 - include/linux/vmalloc.h | 46 ++ init/main.c | 1 - mm/debug_vm_pgtable.c | 4 +- mm/ioremap.c | 225 +------- mm/memory.c | 66 ++- mm/page_alloc.c | 5 +- mm/vmalloc.c | 485 +++++++++++++++--- 21 files changed, 621 insertions(+), 404 deletions(-)
Signature · 1 line
2.23.0