Messages in this thread | | | Subject | Re: [RFC PATCH v1 1/2] sched: unified sched_powersavings sysfs tunable | From | Peter Zijlstra <> | Date | Wed, 25 Jan 2012 15:57:26 +0100 |
| |
On Mon, 2012-01-16 at 21:52 +0530, Vaidyanathan Srinivasan wrote: > +enum powersavings_level { > + POWERSAVINGS_DISABLED = 0, /* Max performance */ > + POWERSAVINGS_DEFAULT, /* Kernel default policy, automatic powersave */ > + /* vs performance tradeoff */ > + POWERSAVINGS_MAX /* Favour power savings over peformance */ > };
I don't like that, I can get, OFF, AUTO, ON, but to overload that with different policies for AUTO and ON just reeks.
| |