From: Con Kolivas Date: Thu, 26 Jul 2007 11:40:43 +0000 (+0200) Subject: [PATCH] sched: add above_background_load() function X-Git-Tag: v2.6.23-rc2~191^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02c7a8cf208eb80a3ccbff40a6bebe8902af35a;p=pandora-kernel.git [PATCH] sched: add above_background_load() function Add an above_background_load() function which can be used by other subsystems to detect if there is anything besides niced tasks running. Place it in sched.h to allow it to be compiled out if not used. Unused for now, but it is a useful hint to the IO scheduler and to swap-prefetch. Signed-off-by: Con Kolivas Cc: Peter Williams Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed