Cpu alloc V4: Replace percpu allocator in modules.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 10 repliesIn review
Changes from the cover letter
- Gut patches to the bare essentials: Only replace modules.c percpu alloocator
- Make percpu reserve area configurable via a kernel parameter
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Make the per cpu reserve configurableDocumentation/ include/ init/ | +22 | 2 replies | |
| 2/4 | percpu: Rename variables PERCPU_ENOUGH_ROOM -> PERCPU_AREA_SIZEarch/ arch/ arch/ +5 more | +14 | 0 replies | |
| 3/4 | cpu alloc: The allocatorarch/ include/ include/ +4 more | +235 | 5 replies | |
| 4/4 | cpu alloc: Use cpu allocator instead of the builtin modules per cpu allocatorinclude/ kernel/ mm/ | +21 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/4] Cpu alloc V4: 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 on the last round is 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:
- Gut patches to the bare essentials: Only replace modules.c percpu alloocator
- Make percpu reserve area configurable via a kernel parameter