Cleanup and fixups for vmemmap handling
Status from this message: [merged] x86-vmemmap-optimize-for-consecutive-sections-in-partial-populated-pmds.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest4 patches 6 repliesApplied 4/4
- v54 patches 9 repliesSuperseded
- v43 patches 17 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 2 replies | Superseded | |
| v2 | 3 patches | 6 replies | Superseded | |
| v1 | 2 patches | 3 replies | Superseded |
Changes in v6 from the cover letter
- Fix some compilation errors when !CONFIG_MEMORY_HOTPLUG (Reported by Zi Yan)
- Collect Acked-by from Dave
Patches in v6 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | x86/vmemmap: Drop handling of 4K unaligned vmemmap rangearch/ | +13 | 0 replies | Applied |
| 2/4 | x86/vmemmap: Drop handling of 1GB vmemmap rangesarch/ | +7 | 0 replies | Applied |
| 3/4 | x86/vmemmap: Handle unpopulated sub-pmd rangesarch/ | +53 | 6 replies | Applied |
| 4/4 | x86/vmemmap: Optimize for consecutive sections in partial populated PMDsarch/ | +60 | 0 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Dave Hansen |
|---|---|---|
| 1/4 | R-b | A-b |
| 2/4 | R-b | A-b |
| 3/4 | R-b | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/4] Cleanup and fixups for vmemmap handling
Hi,
this series contains cleanups to remove dead code that handles unaligned cases for 4K and 1GB pages (patch#1 and patch#2) when removing the vemmmap range, and a fix (patch#3) to handle the case when two vmemmap ranges intersect the same PMD.
More details can be found in the respective changelogs.
v5 -> v6:
- Fix some compilation errors when !CONFIG_MEMORY_HOTPLUG (Reported by Zi Yan)
- Collect Acked-by from Dave
v4 -> v5:
- Rebase on top of 5.12-rc2
- Addessed feedback from Dave
- Split previous patch#3 into core-changes (current patch#3) and the optimization (current patch#4)
- Document better what is unused_pmd_start and its optimization
- Added Acked-by for patch#1
v3 -> v4:
- Rebase on top of 5.12-rc1 as Andrew suggested
- Added last Reviewed-by for the last patch
v2 -> v3:
- Make sure we do not clear the PUD entry in case we are not removing the whole range.
- Add Reviewed-by
v1 -> v2:
- Remove dead code in remove_pud_table as well
- Addessed feedback by David
- Place the vmemap functions that take care of unaligned PMDs within CONFIG_SPARSEMEM_VMEMMAP
Oscar Salvador (4):
x86/vmemmap: Drop handling of 4K unaligned vmemmap range x86/vmemmap: Drop handling of 1GB vmemmap ranges x86/vmemmap: Handle unpopulated sub-pmd ranges x86/vmemmap: Optimize for consecutive sections in partial populated
PMDs
arch/x86/mm/init_64.c | 203 +++++++++++++++++++++++++++++++------------------- 1 file changed, 128 insertions(+), 75 deletions(-)
Signature · 1 line
2.16.3