: Sparc64 dynamic per-cpu support.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | : sparc64: Reclaim trap_block[]->hdescarch/ arch/ | +7 | 0 replies | |
| 2/12 | : sparc64: Move trap_block[] definitions into a new header file.arch/ arch/ | +208 | 0 replies | |
| 3/12 | : sparc64: Store per-cpu offset in trap_block[]arch/ arch/ arch/ +2 more | +21 | 0 replies | |
| 4/12 | : sparc64: Use BUILD_BUG_ON() in trap_init().arch/ | +91 | 0 replies | |
| 5/12 | : sparc64: Refactor OBP cpu scanning code using an iterator.arch/ arch/ | +127 | 2 replies | |
| 6/12 | : sparc64: Refactor MDESC cpu scanning code using an iterator.arch/ arch/ | +90 | 0 replies | |
| 7/12 | : sparc: Call OF and MD cpu scanning explicitly from paging_init()arch/ arch/ arch/ +3 more | +6 | 0 replies | |
| 8/12 | : sparc64: Make mdesc_fill_in_cpu_data take a cpumask_t pointer.arch/ arch/ arch/ +1 more | +6 | 0 replies | |
| 9/12 | : sparc64: Defer cpu_data() setup until end of per-cpu data initialization.arch/ arch/ arch/ +2 more | +9 | 0 replies | |
| 10/12 | : sparc64: Get rid of real_setup_per_cpu_areas().arch/ arch/ arch/ | +5 | 0 replies | |
| 11/12 | : sparc64: Only allocate per-cpu areas for possible cpus.arch/ | +6 | 0 replies | |
| 12/12 | : sparc64: Use new dynamic per-cpu allocator.arch/ arch/ | +159 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/12]: Sparc64 dynamic per-cpu support.
This patch set converts sparc64 over to use the dynamic per-cpu stuff.
Most of the work is the boring task of getting rid of the special "real_setup_per_cpu_areas()" sparc64 uses to setup the per-cpu areas before bootmem is available. We needed to do this because we initialized the cpu possible map at the same time as the stuff stored in the per-cpu cpu_data array.
So we split those tasks up. Otherwise we wouldn't be able to convert to dynamic per-cpu because that stuff requires that bootmem and the page structs are ready to use.
For now I'm using the draconian unoptimized x86 NUMA remap scheme. I really want to do this better because it is insanely suboptimal on Niagara chips where in some cases 8 cpus share the same physical TLB.
This is against Linus's current tree and it's also in sparc-next-2.6