Skip to content

cpumask: complete CONFIG_CPUMASK_OFFSTACK

Rusty Russell lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cpumask: truncate mm_struct.cpu_vm_mask for CONFIG_CPUMASK_OFFSTACKarch/x86/kernel/tboot.c include/linux/mm_types.h kernel/fork.c +1 more+28 -80 replies
2/5cpumask: make task_struct.cpus_allowed a cpumask_var_tarch/arm/mach-integrator/cpu.c arch/blackfin/kernel/process.c arch/ia64/kernel/cpufreq/acpi-cpufreq.c +30 more+86 -622 replies
3/5cpumask: select disabling obsolete cpumask functions on x86include/linux/cpumask.h include/linux/sched.h lib/Kconfig +1 more+9 -40 replies
4/5cpumask: remove struct cpumask definition when CONFIG_CPUMASK_OFFSTACK=yinclude/linux/cpumask.h+15 -00 replies
5/5cpumask: reduce cpumask_sizeinclude/linux/cpumask.h+2 -43 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] cpumask: complete CONFIG_CPUMASK_OFFSTACK

This patch series finally gets the last remaining cpumask_t in the core kernel, and thus allows us to make 'struct cpumask' undefined in the CONFIG_CPUMASK_OFFSTACK case. This gives us confidence that noone is manipulating a cpumask except via the cpumask_ functions, so we can finally short-allocate them (ie. nr_cpu_ids not NR_CPUS) for the CONFIG_CPUMASK_OFFSTACK=y case.

This series has been tested on 32-bit only, so handle with care!

Cheers,
Rusty.