Messages in this thread | | | Date | Fri, 18 Jul 2008 10:36:47 +0800 | From | Li Zefan <> | Subject | Re: [RFC] [PATCH] cpuset: fix wrong calculation of relax domain level |
| |
Paul Jackson wrote: > Li Zefan wrote: >> When multiple cpusets are overlapping in their 'cpus' and hence they >> form a single sched domain, the largest sched_relax_domain_level among >> those should be used. But when top_cpuset's sched_load_balance is >> set, its sched_relax_domain_level is used regardless other sub-cpusets'. > > This code has gotten too complicated for my modest brain ;). > > Question: > > In the case that the top_cpuset's sched_load_balance is -not- set, > is there code already present that sets the sched_relax_domain_level > in overlapping cpusets to the largest value in any of the overlapping > cpusets? > > If so, where is that code? >
It was your idea to use the largest sched_load_balance for overlapping cpusets. ;)
| |