[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130327173742.GA17642@arm.com>
Date: Wed, 27 Mar 2013 17:37:42 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Nicolas Pitre <nicolas.pitre@...aro.org>
Cc: Peter Zijlstra <peterz@...radead.org>,
"tony.luck@...el.com" <tony.luck@...el.com>,
"len.brown@...el.com" <len.brown@...el.com>,
"alex.shi@...el.com" <alex.shi@...el.com>,
"linux@....linux.org.uk" <linux@....linux.org.uk>,
"corbet@....net" <corbet@....net>,
Arjan van de Ven <arjan@...ux.intel.com>,
"mingo@...nel.org" <mingo@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"cmetcalf@...era.com" <cmetcalf@...era.com>,
"chander.kashyap@...aro.org" <chander.kashyap@...aro.org>,
"linaro-kernel@...ts.linaro.org" <linaro-kernel@...ts.linaro.org>,
"preeti@...ux.vnet.ibm.com" <preeti@...ux.vnet.ibm.com>,
"paulmck@...ux.vnet.ibm.com" <paulmck@...ux.vnet.ibm.com>,
"pjt@...gle.com" <pjt@...gle.com>,
Morten Rasmussen <Morten.Rasmussen@....com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [RFC PATCH v3 3/6] sched: pack small tasks
On Wed, Mar 27, 2013 at 05:18:53PM +0000, Nicolas Pitre wrote:
> On Wed, 27 Mar 2013, Catalin Marinas wrote:
>
> > So if the above works, the scheduler guys can mandate that little CPUs
> > are always first and for ARM it would be a matter of getting the right
> > CPU topology in the DT (independent of what hw vendors think of CPU
> > topology) and booting Linux on CPU 4 etc.
>
> Just a note about that: if the scheduler mandates little CPUs first,
> that should _not_ have any implications on the DT content. DT is not
> about encoding Linux specific implementation details. It is simple
> enough to tweak the CPU logical map at run time when enumeratiing CPUs.
You are right, though a simpler way (hack) to tweak the cpu_logical_map
is to change the DT ;).
But the problem is that the kernel doesn't know which CPU is big and
which is little, unless you specify this in some way via the DT. It can
be the cpu nodes order or some other means.
--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists