From: Con Kolivas Date: Tue, 27 Jun 2006 09:54:30 +0000 (-0700) Subject: [PATCH] sched: fix interactive ceiling code X-Git-Tag: v2.6.18-rc1~514 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72d2854d4ebf5faf086ebccb2ed575c6b68a05dc;p=pandora-kernel.git [PATCH] sched: fix interactive ceiling code The relationship between INTERACTIVE_SLEEP and the ceiling is not perfect and not explicit enough. The sleep boost is not supposed to be any larger than without this code and the comment is not clear enough about what exactly it does, just the reason it does it. Fix it. There is a ceiling to the priority beyond which tasks that only ever sleep for very long periods cannot surpass. Fix it. Prevent the on-runqueue bonus logic from defeating the idle sleep logic. Opportunity to micro-optimise. Signed-off-by: Con Kolivas Signed-off-by: Mike Galbraith Acked-by: Ingo Molnar Signed-off-by: Ken Chen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed