sched: HMP change nr_running offload metric
authorChris Redpath <chris.redpath@arm.com>
Thu, 8 Aug 2013 15:10:39 +0000 (16:10 +0100)
committerJon Medhurst <tixy@linaro.org>
Thu, 5 Sep 2013 17:09:17 +0000 (18:09 +0100)
commit70845269b55dd275c19d253bbb79b36fbf9a83d6
tree9291756edbc534a3866b80495beb1ac76dfc4740
parent72d74c11966159f155bac7f83fe77658c54525fc
sched: HMP change nr_running offload metric

rq->nr_running was better than cfs.nr_running, since it includes
all tasks actually on the CPU. However, it includes RT tasks which
we would rather ignore at this point.

Switching to cfs.h_nr_running includes all the CFS tasks but no
RT tasks.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
kernel/sched/fair.c