From: Ingo Molnar Date: Sat, 10 Sep 2005 07:26:12 +0000 (-0700) Subject: [PATCH] sched: TASK_NONINTERACTIVE X-Git-Tag: v2.6.14-rc1~217 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=d79fc0fc6645b0cf5cd980da76942ca6d6300fa4;hp=d79fc0fc6645b0cf5cd980da76942ca6d6300fa4 [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ---