diff options
| author | Paul Reioux <reioux@gmail.com> | 2013-09-08 17:14:16 -0500 |
|---|---|---|
| committer | John Brewer <gzroms@hotmail.com> | 2014-08-03 20:49:13 -0400 |
| commit | 58e5bdb821a27a3dd2041b564a84817a79a2e6bd (patch) | |
| tree | 9730ce9d068d071a56907feeeec60ed8c49efefb /net/lapb/lapb_timer.c | |
| parent | 97ded227cd2a9e821b7ff317a3fac08e6fadd038 (diff) | |
sched: change load balance number to h_nr_running of run queue
Date Sun, 18 Aug 2013 16:25:15 +0800
Since rq->nr_running would include both migration and rt task, it is not
reasonable to seek to move nr_running number of task in the load_balance
function, since it only apply to cfs type.
Change it to cfs's h_nr_running, which could well present the task
number in current cfs queue.
Signed-off-by: Lei Wen <leiwen@marvell.com>
backported to Linux 3.4 by faux123
Signed-off-by: Paul Reioux <reioux@gmail.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
