diff options
| author | Con Kolivas <kernel@kolivas.org> | 2005-01-07 21:46:46 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-07 21:46:46 -0800 |
| commit | 2cf52d5c5c9d81f2d158312c1ab2b6b3ec856bbb (patch) | |
| tree | 646d24698d9d12de0fc7dd8ef294fcc1b4a819f0 /include/linux | |
| parent | f832cc632479a6ad4a0b59c5b53de12ae601dc40 (diff) | |
[PATCH] sched: remove_interactive_credit
Special casing tasks by interactive credit was helpful for preventing fully
cpu bound tasks from easily rising to interactive status.
However it did not select out tasks that had periods of being fully cpu
bound and then sleeping while waiting on pipes, signals etc. This led to a
more disproportionate share of cpu time.
Backing this out will no longer special case only fully cpu bound tasks,
and prevents the variable behaviour that occurs at startup before tasks
declare themseleves interactive or not, and speeds up application startup
slightly under certain circumstances. It does cost in interactivity
slightly as load rises but it is worth it for the fairness gains.
Signed-off-by: Con Kolivas <kernel@kolivas.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index fe3e325923a1..adcfd6e16f94 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -538,7 +538,6 @@ struct task_struct { prio_array_t *array; unsigned long sleep_avg; - long interactive_credit; unsigned long long timestamp, last_ran; int activated; |
