[PATCH] powerpc/numa: Perform full re-add of CPU for PRRN/VPHN topology update

Srikar Dronamraju srikar at linux.vnet.ibm.com
Tue Nov 13 19:39:02 AEDT 2018


> -static void topology_work_fn(struct work_struct *work)
> -{
> -	rebuild_sched_domains();
> +	if (changed)
> +		rebuild_sched_domains();
>  }
>  static DECLARE_WORK(topology_work, topology_work_fn);
> 
> @@ -1553,7 +1424,6 @@ void __init shared_proc_topology_init(void)
>  	if (lppaca_shared_proc(get_lppaca())) {
>  		bitmap_fill(cpumask_bits(&cpu_associativity_changes_mask),
>  			    nr_cpumask_bits);
> -		numa_update_cpu_topology(false);

Shouldn't we be calling topology_schedule_update() here?

>  	}
>  }
> 


-- 
Thanks and Regards
Srikar Dronamraju



More information about the Linuxppc-dev mailing list