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

2022-03-28 Thread 王擎
>> 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. > >This all still makes absolutely

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

2022-03-28 Thread Peter Zijlstra
On Mon, Mar 28, 2022 at 02:53:37AM -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

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

2022-03-28 Thread Srikar Dronamraju
* Qing Wang [2022-03-28 02:53:37]: > 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. >

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

2022-03-28 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