Re: [RFC] [PATCH] cpuset: fix wrong calculation of relax domain level
From: Li Zefan
Date: Thu Jul 17 2008 - 22:38:48 EST
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 ;).
> 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
> If so, where is that code?
It was your idea to use the largest sched_load_balance for overlapping cpusets.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/