[PATCH] sched: TASK_NONINTERACTIVE
authorIngo Molnar <mingo@elte.hu>
Sat, 10 Sep 2005 07:26:12 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:22 +0000 (10:06 -0700)
commitd79fc0fc6645b0cf5cd980da76942ca6d6300fa4
treee74aca1df1d37dbd7af66636a4e39a3f7e1af479
parent95cdf3b799a481969a48d69a1a52916ad5da6694
[PATCH] sched: TASK_NONINTERACTIVE

This patch implements a task state bit (TASK_NONINTERACTIVE), which can be
used by blocking points to mark the task's wait as "non-interactive".  This
does not mean the task will be considered a CPU-hog - the wait will simply
not have an effect on the waiting task's priority - positive or negative
alike.  Right now only pipe_wait() will make use of it, because it's a
common source of not-so-interactive waits (kernel compilation jobs, etc.).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/pipe.c
include/linux/sched.h
kernel/sched.c