[lkml]   [2019]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v1 0/4] cpuidle, haltpoll: governor switching on idle register

Presented herewith a series with aims to tie in together the haltpoll
idle driver and governor, without sacrificing previous governor setups.
In addition, there are a few fixes with respect to module loading for

The series is organized as follows:

Patch 1: Allows idle driver stating a preferred governor that it
wants to use, based on discussion here:

Patch 2: Decrease rating of governor, and allows previous defaults
to be as before haltpoll, while using @governor to switch to haltpoll
when haltpoll driver is registered;

Patch 3 - 4: Module loading fixes. first is the incorrect error
reporting and second is supportting module unloading.

Thoughts, comments appreciated.


Joao Martins (4):
cpuidle: allow governor switch on cpuidle_register_driver()
cpuidle-haltpoll: set haltpoll as preferred governor
cpuidle-haltpoll: return -ENODEV on modinit failure
cpuidle-haltpoll: do not set an owner to allow modunload

drivers/cpuidle/cpuidle-haltpoll.c | 4 ++--
drivers/cpuidle/cpuidle.h | 1 +
drivers/cpuidle/driver.c | 26 ++++++++++++++++++++++++++
drivers/cpuidle/governor.c | 6 +++---
drivers/cpuidle/governors/haltpoll.c | 2 +-
include/linux/cpuidle.h | 3 +++
6 files changed, 36 insertions(+), 6 deletions(-)


 \ /
  Last update: 2019-09-03 13:40    [W:0.039 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site