Re: [RFC PATCH] cpuidle: allow per cpu latencies |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [RFC PATCH] cpuidle: allow per cpu latencies
- From: Peter De Schrijver <pdeschrijver@xxxxxxxxxx>
- Date: Thu, 19 Apr 2012 13:23:57 +0300
- Cc: "Shilimkar, Santosh" <santosh.shilimkar@xxxxxx>, Kevin Hilman <khilman@xxxxxx>, Len Brown <len.brown@xxxxxxxxx>, Trinabh Gupta <g.trinabh@xxxxxxxxx>, Russell King <linux@xxxxxxxxxxxxxxxx>, Stephen Warren <swarren@xxxxxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, Deepthi Dharwar <deepthi@xxxxxxxxxxxxxxxxxx>, "linux-tegra@xxxxxxxxxxxxxxx" <linux-tegra@xxxxxxxxxxxxxxx>, Colin Cross <ccross@xxxxxxxxxxx>, Olof Johansson <olof@xxxxxxxxx>, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>, Rob Lee <rob.lee@xxxxxxxxxx>, Ricardo Salveti <ricardo.salveti@xxxxxxxxxx>
- In-reply-to: <4F8FD773.5030500@linaro.org>
- User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, Apr 19, 2012 at 11:14:27AM +0200, Daniel Lezcano wrote:
> On 04/16/2012 05:34 PM, Peter De Schrijver wrote:
> >>
> >> Maybe we also want to make the 'disabled' flag per CPU then or provide some
> >> other way the number of C states can be different per CPU?
> >
> > What do you think about this? Do we also want to make the disabled flag per
> > CPU? Or how should we deal with a different number of C states per CPU?
>
> Hi Peter,
>
> yes, that could makes sense. But in most of the architecture, this is
> not needed, so duplicating the state's array and latencies is unneeded
> memory consumption.
>
> Maybe we can look for a COW approach, similar to what is done for the
> nsproxy structure, no ?
>
That could be easily solved by just having a pointer to the state table in the
per CPU datastructure I think?
Cheers,
Peter.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[ARM Kernel]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]