"Kenneth Chen" <kenneth.w.chen@intel.com> wrote: > > >>>>> Andrew Morton wrote on Wed, March 17, 2004 7:28 PM > > > "Kenneth Chen" <kenneth.w.chen@intel.com> wrote: > > > > > > Writing to sysctl should be a bool, reading the value can be number of > > > module currently disabled low power idle. I think the original intent > > > is to use ref count for enabling/disabling. (granted, we copied the > > > code from other arch). > > > > OK, so why not give us: > > > > #define IDLE_HALT 0 > > #define IDLE_POLL 1 > > #define IDLE_SUPER_LOW_POWER_HALT 2 > > > > and so forth (are there any others?). > > > > Set some system-wide integer via a sysctl and let the particular > > architecture decide how best to implement the currently-selected > > idle mode? > > > Sounds good, Thanks for the suggestion. I just coded it up: > Looks fine, thanks. I'll queue that up pending some code which actually uses it. And the obligatory update to Documentation/kernel-parameters.txt ;) - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Mar 18 17:38:22 2004
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST