RFC cpuidle/sched: move main idle function in the idle.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 48 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | cpuidle: split cpuidle_idle_call main function into functionsdrivers/ include/ | +83 | 4 replies | |
| 2/3 | cpuidle: move the cpuidle_idle_call function to idle.cdrivers/ include/ kernel/ | +44 | 1 reply | |
| 3/3 | idle: store the idle state index in the struct rqkernel/ kernel/ | +12 | 43 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Nicolas Pitre |
|---|---|
| 1/3 | |
| 2/3 | A-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/3] cpuidle/sched: move main idle function in the idle.c
This patchset relies on the "setting the table for integration of cpuidle with the scheduler" from Nicolas Pitre where the idle.c file has been moved into the sched directory.
It encapsulate the cpuidle main code into three exported functions which are used by the cpuidle_idle_call function. This one is then moved into the idle.c file.
The third patch shows an example on how integrating cpuidle information in the scheduler is easier.
Daniel Lezcano (3):
cpuidle: split cpuidle_idle_call main function into functions
cpuidle: move the cpuidle_idle_call function to idle.c
idle: store the idle state index in the struct rq
drivers/cpuidle/cpuidle.c | 80 +++++++++++++++++++++++++-------------------- include/linux/cpuidle.h | 9 +++-- kernel/sched/idle.c | 53 ++++++++++++++++++++++++++++++ kernel/sched/sched.h | 3 ++ 4 files changed, 108 insertions(+), 37 deletions(-)
Signature · 1 line
1.7.9.5