Re: [RFC] [PATCH] cpuset: fix wrong calculation of relax domainlevel

From: Paul Jackson
Date: Thu Jul 17 2008 - 16:28:46 EST


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?

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.940.382.4214
--
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/