diff options
author | Con Kolivas <kernel@kolivas.org> | 2007-07-26 13:40:43 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-07-26 13:40:43 +0200 |
commit | d02c7a8cf208eb80a3ccbff40a6bebe8902af35a (patch) | |
tree | b6e2a0393bf917e5e04be955d6c6d5384caa4dfa /net | |
parent | b762f3ffb797c1281a38a1c82194534055fba5ec (diff) | |
download | linux-d02c7a8cf208eb80a3ccbff40a6bebe8902af35a.tar.bz2 |
[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 <kernel@kolivas.org>
Cc: Peter Williams <pwil3058@bigpond.net.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions