On Mon, Mar 28, 2022 at 02:53:37AM -0700, Qing Wang wrote: > From: Wang Qing <wangq...@vivo.com> > > 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 no sense. The architecture builds these masks, the architecture is in charge of which flags function is called on which mask. Passing the mask back in means it lost the plot somewhere and doens't know wth it's doing anymore. NAK