[PATCH] sched: add new SCHED_BATCH policy
authorIngo Molnar <mingo@elte.hu>
Sat, 14 Jan 2006 21:20:41 +0000 (13:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:25:20 +0000 (18:25 -0800)
commitb0a9499c3dd50d333e2aedb7e894873c58da3785
tree1b9610020884091984ce8290c70bebdc3e7bb09b
parent2d0cfb527944c2cfee2cffab14f52d483e329fcf
[PATCH] sched: add new SCHED_BATCH policy

Add a new SCHED_BATCH (3) scheduling policy: such tasks are presumed
CPU-intensive, and will acquire a constant +5 priority level penalty.  Such
policy is nice for workloads that are non-interactive, but which do not
want to give up their nice levels.  The policy is also useful for workloads
that want a deterministic scheduling policy without interactivity causing
extra preemptions (between that workload's tasks).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sched.h
kernel/exit.c
kernel/sched.c