diff options
author | Carsten Emde <C.Emde@osadl.org> | 2010-02-15 16:30:34 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-02-21 14:20:12 -0500 |
commit | 1954630a0637ad1ec2dcfe0324a36cd243f018ee (patch) | |
tree | 2203e64b007c232a5a7f8d302572eb2c025e6054 /drivers/misc/hwlat_detector.c | |
parent | 28bbb2398ebbeac1d4c1fd109938441842c8f89e (diff) |
sched: Run task on same cpu if idle and allowed
The current RT balancer does not consider CPU topology and may
wakeup a process to run on another CPU although it might run
on the current.
This patch adds a check and runs the new task on the current CPU,
if it
- is an RT task,
- is allowed to run on the current CPU, and
- current is not an RT task,
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/misc/hwlat_detector.c')
0 files changed, 0 insertions, 0 deletions