[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101020205530.GA22317@in.ibm.com>
Date: Thu, 21 Oct 2010 02:25:30 +0530
From: Dipankar Sarma <dipankar@...ibm.com>
To: Arjan van de Ven <arjan@...ux.intel.com>
Cc: Andi Kleen <ak@...ux.intel.com>,
Trinabh Gupta <trinabh@...ux.vnet.ibm.com>,
Venkatesh Pallipadi <venki@...gle.com>, peterz@...radead.org,
lenb@...nel.org, suresh.b.siddha@...el.com,
benh@...nel.crashing.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC V1] cpuidle: add idle routine registration and cleanup
pm_idle pointer
On Wed, Oct 20, 2010 at 09:03:23AM -0700, Arjan van de Ven wrote:
> On 10/20/2010 8:34 AM, Andi Kleen wrote:
> >
> >I think the right option is still to put cpuidle on a diet.
> >There's no reason an idle handler needs to be that bloated.
> >
> >If it was 2K or so just including it into the core would be fine.
> >
> >Ignoring code size completely is generally a wrong trade off imho.
>
> I'm not ignoring code size.
> I'm saying that a 7Kb component that everyone on this architecture
> uses in practice versus adding 0.5Kb in ADDITION to that for
> everyone for the theoretical case
> of someone NOT using cpuidle is the wrong tradeoff.
The 0.5kb is necessary because we want to move from dangling
pm_idle to a simple registration mechanism.
> having it go on a diet? I'm all for it. Killing off the ladder
> governor for example is a step.
> But really. 7Kb. There's lots of lower hanging fruit as well. 7Kb is
> not a reason to make such a bad tradeoff.
Given the number of archs using this, doing this incrementally
seems to be the best way to go. The registration part first,
trimming cpuidle, moving other archs to the registration
mechanism later eventually deprecating pm_idle.
Thanks
Dipankar
--
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