[RFC PATCH 0/3] cpuidle/sched: move main idle function in the idle.c

From: Daniel Lezcano
Date: Thu Jan 30 2014 - 09:09:34 EST


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(-)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/