summaryrefslogtreecommitdiffstats
path: root/fs/nls/nls_koi8-u.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-03-29 20:19:03 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-04-07 19:26:44 +0200
commitd3c33be1f350e7fd2b04381b000f3f950bd1ba77 (patch)
treea89c96fbacaef035bb19cb2f19c48d3328d9162a /fs/nls/nls_koi8-u.c
parent2ab80d46fead0309d7f190d8023c8d64b2ffcbd5 (diff)
downloadlinux-stable-d3c33be1f350e7fd2b04381b000f3f950bd1ba77.tar.gz
linux-stable-d3c33be1f350e7fd2b04381b000f3f950bd1ba77.tar.bz2
linux-stable-d3c33be1f350e7fd2b04381b000f3f950bd1ba77.zip
cpuidle: teo: Adjust handling of very short idle times
If the time till the next timer event is shorter than the target residency of the first idle state (state 0), the TEO governor does not update its metrics for any idle states, but arguably it should record a "hit" for idle state 0 in that case, so modify it to do that. Accordingly, also make it record an "early hit" for idle state 0 if the measured idle duration is less than its target residency, which allows one branch more to be dropped from teo_update(). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/nls/nls_koi8-u.c')
0 files changed, 0 insertions, 0 deletions