Cpu alloc V6: Replace percpu allocator in modules.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 15 repliesIn review
V5->V6 from the cover letter
- Fix various issues in the per cpu alloc
- Make percpu reserve not depend on CONFIG_MODULES.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Make the per cpu reserve configurableDocumentation/ include/ init/ | +22 | 0 replies | |
| 2/4 | percpu: Rename variables PERCPU_ENOUGH_ROOM -> PERCPU_AREA_SIZEarch/ arch/ arch/ +5 more | +14 | 0 replies | |
| 3/4 | cpu alloc: The allocatorinclude/ include/ init/ +3 more | +236 | 11 replies | |
| 4/4 | cpu alloc: Use cpu allocator instead of the builtin modules per cpu allocatorinclude/ kernel/ | +12 | 1 reply |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Rusty Russell |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 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 0/4] Cpu alloc V6: Replace percpu allocator in modules.c
Just do the bare mininum to establish a per cpu allocator. Later patchsets will gradually build out the functionality.
The most critical issue that came up awhile back was how to configure the size of the percpu area. Here we simply use a kernel parameter and use the static size of the existing percpu allocator for modules as a default.
The effect of this patchset is to make the size of percpu data for modules configurable. Its no longer fixed at 8000 bytes.
Changes:V5->V6:
- Fix various issues in the per cpu alloc
- Make percpu reserve not depend on CONFIG_MODULES.
V4->V5:
- Fix various things pointed out by Pekka.
- Remove page alignment check from module.c and put it into cpu_alloc.c
V3->V4:
- Gut patches to the bare essentials: Only replace modules.c percpu alloocator
- Make percpu reserve area configurable via a kernel parameter
Signature · 5 lines
-- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>