[lkml]   [2019]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/7] devfreq: improve devfreq statistics counting

this patch series improves devfreq statistics:

- do conversion to use 64-bit jiffies for storing elapsed time and prevent counters

- add ability to reset statistics using sysfs,

- move statistics data to separate structure for improved code
readability and maintenance,

- make devfreq statistics code more similar to cpufreq statistics
code for improved long-term maintainability

The first four patches fix time stats to use 64-bits, add spinlock for protecting data
access, add new function in sysfs for clearing statistics counters and change var name
used in time counters. Remaining patches make steps to moving stats into separate
structure devfreq_stats.

Best regards,
Kamil Konieczny
Samsung R&D Institute Poland

Kamil Konieczny (7):
devfreq: change time stats to 64-bit
devfreq: protect devfreq stats data with spinlock
devfreq: add clearing transitions stats in sysfs
devfreq: change var name used in time statistics
devfreq: move transition statistics to devfreq profile structure
devfreq: move transition statistics allocations to set_freq_stats()
devfreq: move statistics to separate struct

drivers/devfreq/devfreq.c | 199 ++++++++++++++++++-----------
drivers/devfreq/exynos-bus.c | 6 +-
drivers/devfreq/governor_passive.c | 26 ++--
include/linux/devfreq.h | 41 +++---
4 files changed, 167 insertions(+), 105 deletions(-)


 \ /
  Last update: 2019-11-13 10:15    [W:0.160 / U:2.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site