Re: [PATCH 1/3] dynticks - implement no idle hz for x86

From: Bill Davidsen
Date: Fri Sep 09 2005 - 11:12:53 EST


Srivatsa Vaddagiri wrote:

On Wed, Sep 07, 2005 at 09:42:24AM -0700, Nish Aravamudan wrote:


Hrm, got dropped from the Cc... :) Yes, the dynamic-tick generic
infrastructure being proposed, with the idle CPU mask and the
set_all_cpus_idle() tick_source hook, would allow exactly this in
arch-specific code.



I think Bill is referring to the "resume" interface i.e an
unset_all_cpus_idle() interface, which is missing (set/unset
probably are not good prefixes maybe?). I feel we can
add one.

Exactly what I had in mind. If there are hooks for all_idle transitions then architectures can hang whatever makes sense there. That hopefully would result in readable code for both power reduction (laptop) and for the strange things that embedded systems sometimes do.

--
bill davidsen <davidsen@xxxxxxx>
CTO TMR Associates, Inc
Doing interesting things with small computers since 1979

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/