Re: [PATCH 1/3] sched: topology: add input parameter for sched_domain_flags_f()

2022-03-29 Thread Peter Zijlstra
On Tue, Mar 29, 2022 at 02:15:19AM -0700, Qing Wang wrote: > From: Wang Qing > > sched_domain_flags_f() are statically set now, but actually, we can get a lot > of necessary information based on the cpu_map. e.g. we can know whether its > cache is shared. > > Allows custom extension without

[PATCH 1/3] sched: topology: add input parameter for sched_domain_flags_f()

2022-03-29 Thread Qing Wang
From: Wang Qing sched_domain_flags_f() are statically set now, but actually, we can get a lot of necessary information based on the cpu_map. e.g. we can know whether its cache is shared. Allows custom extension without affecting current. Signed-off-by: Wang Qing --- arch/powerpc/kernel/smp.c