lkml.org 
[lkml]   [2019]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] PM / devfreq: add possibility for delayed work
Date
Add possibility for changing work from deferred to delayed in devfreq
workqueue. This can be done with

echo 1 > /sys/class/devfreq/devfreqX/delayed_timer

Second way is to use config option, in that case delayed timer will be
used from devfreq start.

Default behaviour is to stick with old delayed timer.

This patchset was inspired by Lukasz Luba patches and discussion that
follows, see

[v1] https://marc.info/?l=linux-pm&m=154904631226997&w=2
[v2] https://marc.info/?l=linux-pm&m=154989907416072&w=2
[v3] https://marc.info/?l=linux-pm&m=155001027823904&w=2

Kamil Konieczny (4):
PM / devfreq: reuse system workqueue machanism
PM / devfreq: add possibility for delayed work
PM / devfreq: Kconfig: add DEVFREQ_DELAYED_TIMER option
PM / devfreq: use delayed work if DEVFREQ_DELAYED_TIMER set

Documentation/ABI/testing/sysfs-class-devfreq | 10 ++++
drivers/devfreq/Kconfig | 12 ++++
drivers/devfreq/devfreq.c | 55 +++++++++++++++++--
include/linux/devfreq.h | 2 +
4 files changed, 75 insertions(+), 4 deletions(-)

--
2.24.0

\
 
 \ /
  Last update: 2019-12-09 15:45    [W:0.155 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site