lkml.org 
[lkml]   [2018]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] cpufreq/schedutil: Cleanup, document and fix iowait boost
On Wed, Apr 11, 2018 at 11:44:45AM +0100, Patrick Bellasi wrote:
> > > - sugov_set_iowait_boost: is now in charge only to set/increase the IO
> > > wait boost, every time a task wakes up from an IO wait.
> > >
> > > - sugov_iowait_boost: is now in charge to reset/reduce the IO wait
> > > boost, every time a sugov update is triggered, as well as
> > > to (eventually) enforce the currently required IO boost value.
> >
> > I'm not sold on those function names; feels like we can do better,
> > although I'm struggling to come up with anything sensible just now.
>
> What about something like:
>
> sugov_iowait_init()
> since here we are mainly initializing the iowait boost
>
> sugov_iowait_boost()
> since here we are mainly applying the proper boost to each cpu
>
> Although they are not really so different...

How about:

sugov_iowait_boost() -- does the actual impulse/boost
sugov_iowait_apply() -- applies the boost state

?

\
 
 \ /
  Last update: 2018-04-11 12:59    [W:0.067 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site