summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-02-22 13:04:33 -0800
committerIngo Molnar <mingo@elte.hu>2011-03-04 11:14:29 +0100
commita2f5c9ab79f78e8b91ac993e0543d65b661dd19b (patch)
tree9fcdae7cad6745d02d5389ab591b454bb4c17b60 /kernel/sched.c
parente0a92c17470775cd85bac52f5372ccc3dc58254a (diff)
downloadop-kernel-dev-a2f5c9ab79f78e8b91ac993e0543d65b661dd19b.zip
op-kernel-dev-a2f5c9ab79f78e8b91ac993e0543d65b661dd19b.tar.gz
sched: Allow SCHED_BATCH to preempt SCHED_IDLE tasks
Perform the test for SCHED_IDLE before testing for SCHED_BATCH (and ensure idle tasks don't preempt idle tasks) so the non-interactive, but still important, SCHED_BATCH tasks will run in favor of the very low priority SCHED_IDLE tasks. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Mike Galbraith <efault@gmx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> LKML-Reference: <1298408674-3130-2-git-send-email-dvhart@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud