cpumask: convert struct cpuinfo_x86's llc_shared_map to cpumask_var_t
Impact: reduce kernel memory usage when CONFIG_CPUMASK_OFFSTACK=y Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
c032ef60d1
commit
155dd720d0
2 changed files with 27 additions and 8 deletions
|
@ -94,7 +94,7 @@ struct cpuinfo_x86 {
|
|||
unsigned long loops_per_jiffy;
|
||||
#ifdef CONFIG_SMP
|
||||
/* cpus sharing the last level cache: */
|
||||
cpumask_t llc_shared_map;
|
||||
cpumask_var_t llc_shared_map;
|
||||
#endif
|
||||
/* cpuid returned max cores value: */
|
||||
u16 x86_max_cores;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue