sched: Fix buglet in return_cfs_rq_runtime()
authorPaul Turner <pjt@google.com>
Tue, 8 Nov 2011 04:26:34 +0000 (20:26 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Nov 2011 07:43:45 +0000 (08:43 +0100)
commitfccfdc6f0d8c83c854eeb6d93aa158f0e551bd49
treed3a397152c6bff8675350e58e2aceb4ec34c1108
parent4dcfe1025b513c2c1da5bf5586adb0e80148f612
sched: Fix buglet in return_cfs_rq_runtime()

In return_cfs_rq_runtime() we want to return bandwidth when there are no
remaining tasks, not "return" when this is the case.

Signed-off-by: Paul Turner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20111108042736.623812423@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c