]> git.itanic.dy.fi Git - linux-stable/commitdiff
Merge branch 'pm-tools'
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 19 May 2023 14:33:50 +0000 (16:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 19 May 2023 14:33:50 +0000 (16:33 +0200)
Merge cpupower utility fixes for 6.4-rc3:

 - Read TSC on each CPU right before reading MPERF so as to reduce the
   potential time difference between the TSC and MPERF accesses and
   improve the C0 percentage calculation (Wyes Karny).

 - Fix a possible file handle leak and clean up the code in
   sysfs_get_enabled() (Hao Zeng).

* pm-tools:
  cpupower: Make TSC read per CPU for Mperf monitor
  cpupower:Fix resource leaks in sysfs_get_enabled()


Trivial merge