- Subject: Re: [PATCH RFC 0/4] Scheduler idle notifiers and users
- From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 09 Feb 2012 08:33:54 +1100
- Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>, Anton Vorontsov <anton.vorontsov@xxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Russell King <linux@xxxxxxxxxxxxxxxx>, Oleg Nesterov <oleg@xxxxxxxxxx>, "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>, Nicolas Pitre <nico@xxxxxxxxxxx>, Mike Chan <mike@xxxxxxxxxxx>, Todd Poynor <toddpoynor@xxxxxxxxxx>, cpufreq@xxxxxxxxxxxxxxx, kernel-team@xxxxxxxxxxx, linaro-kernel@xxxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Arjan Van De Ven <arjan@xxxxxxxxxxxxx>
- In-reply-to: <20120208202314.GA28290@redhat.com>
- References: <20120208013959.GA24535@panacea> <1328670355.2482.68.camel@laptop> <20120208202314.GA28290@redhat.com>
On Wed, 2012-02-08 at 15:23 -0500, Dave Jones wrote:
> I think the biggest mistake we ever made with cpufreq was making it
> so configurable. If we redesign it, just say no to plugin governors,
> and
> yes to a lot fewer sysfs knobs.
>
> So, provide mechanism to kill off all the governors, and there's a
> migration path from what we have now to something that just works
> in a lot more cases, while remaining configurable enough for the
> corner-cases.
On the other hand, the need for schedulable contxts may not necessarily
go away.
If you look beyond x86, there's several issues that get into the
picture. i2c clock chips & power control chips are slow (the i2c bus
itself is). You don't want to spin for hundreds of microsecs while you
do those transactions.
I have seen many cases where the clock control can be done quite
quickly, but on the other hand, the voltage control takes dozens of ms
to reach the target value & stabilize.
That could be done asynchronously .. as long as the scheduler doesn't
constantly hammer it with change requests.
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]