Re: [RFC 0/6] rework sched_domain topology description

From: Peter Zijlstra
Date: Tue Mar 11 2014 - 09:18:03 EST


On Sat, Mar 08, 2014 at 12:40:58PM +0000, Dietmar Eggemann wrote:
> >
> >I don't have a strong opinion about using or not a cpu argument for
> >setting the flags of a level (it was part of the initial proposal
> >before we start to completely rework the build of sched_domain)
> >Nevertheless, I see one potential concern that you can have completely
> >different flags configuration of the same sd level of 2 cpus.
>
> Could you elaborate a little bit further regarding the last sentence? Do you
> think that those completely different flags configuration would make it
> impossible, that the load-balance code could work at all at this sd?

So a problem with such an interfaces is that is makes it far too easy to
generate completely broken domains.

You can, for two cpus in the same domain provide, different flags; such
a configuration doesn't make any sense at all.

Now I see why people would like to have this; but unless we can make it
robust I'd be very hesitant to go this route.


--
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/