x86: Reduce pressure on stack from cpumask usage -v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
v2 from the cover letter
- fix some compile errors when NR_CPUS > default for ia386 (128 & 4096)
- remove unneccessary includes
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cpumask: Convert cpumask_of_cpu to static array -v2arch/ arch/ arch/ +9 more | +26 | 0 replies | |
| 2/2 | cpumask: Convert set_cpus_allowed to use ptr for cpumask arg -v2include/ kernel/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] x86: Reduce pressure on stack from cpumask usage -v2
v2:
- fix some compile errors when NR_CPUS > default for ia386 (128 & 4096)
- remove unneccessary includes
Convert cpumask_of_cpu to use a static percpu data array and set_cpus_allowed to pass the cpumask_t arg as a pointer.
Conditioned on NR_CPUS > BITS_PER_LONG.
Compiled and tested for i386 and x86_64. I'd appreciate feedback on other architectures.
(Note: there are still compile/test errors when NR_CPUS > 256 due to cpu id being 8 bits among other things.)
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>