Messages in this thread | | | Subject | Re: Plumbers: Tweaking scheduler policy micro-conf RFP | From | Peter Zijlstra <> | Date | Wed, 16 May 2012 20:30:10 +0200 |
| |
On Tue, 2012-05-15 at 17:35 +0200, Peter Zijlstra wrote: > But really short, look at kernel/sched/core.c:default_topology[]
The reason I want to push this into the arch is that the current one size fits all topology really doesn't fit.
On x86 there's stuff like the Intel Core2 Quad which is two dual-core dies glued together resulting in a socket with 2 cache domains. And the current topology simply cannot represent this.
There's the s390 'book' domain, which is now littering generic code.
And AMD Magny-Cours which has two nodes on a socket.
But I want to very much limit the arch interface so that we don't get the current mess of arch maintainers having to guess at things like SD_INIT_BOOK and what all these various random numbers in there mean.
| |