mm/mm_init: simplify deferred init of struct pages
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyIn review
- v14 patches 14 repliesSuperseded
Changes in v2 from the cover letter
* fix "sleeping function called from invalid context" bug reported by kbuild:
https://lore.kernel.org/all/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/mm_init: use deferred_init_memmap_chunk() in deferred_grow_zone()mm/ | +36 | 0 replies | |
| 2/4 | mm/mm_init: deferred_init_memmap: use a job per zonemm/ | +16 | 0 replies | |
| 3/4 | mm/mm_init: drop deferred_init_maxorder()mm/ | +32 | 0 replies | |
| 4/4 | memblock: drop for_each_free_mem_pfn_range_in_zone_from().clang-format include/ mm/ | +0 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Wei Yang |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | R-b |
| 3/4 | R-b | R-b |
| 4/4 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] mm/mm_init: simplify deferred init of struct pages
From: "Mike Rapoport (Microsoft)" <[email protected]>
Hi,
These patches simplify deferred initialization of the memory map.
Beside nice negative diffstat I measured 3ms (55ms vs 58ms) reduction in the initialization of deferred pages on single node system with 64GiB of RAM.
I don't have access to large memory machines, so I'd really appreciate testing of these patches on them to make sure there's no regression there.
v2 changes:
* fix "sleeping function called from invalid context" bug reported by kbuild:
https://lore.kernel.org/all/[email protected]
v1: https://lore.kernel.org/all/[email protected]
I pushed the patches to memblock tree for wider testing.
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock.git/log/?h=for-next
Mike Rapoport (Microsoft) (4):
mm/mm_init: use deferred_init_memmap_chunk() in deferred_grow_zone() mm/mm_init: deferred_init_memmap: use a job per zone mm/mm_init: drop deferred_init_maxorder()
memblock: drop for_each_free_mem_pfn_range_in_zone_from()
.clang-format | 1 - include/linux/memblock.h | 22 ----- mm/memblock.c | 64 ------------- mm/mm_init.c | 197 +++++++++++++-------------------------- 4 files changed, 65 insertions(+), 219 deletions(-)
base-commit: b320789d6883cc00ac78ce83bccbfe7ed58afcf0
Signature · 1 line
2.50.1