diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-01-25 21:08:03 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 21:08:03 +0100 |
commit | 63489e45e265f64c368882be1f01c42dec5d984c (patch) | |
tree | d228ccbe22bc421c36455c7e05480247a4a8d2b1 /kernel/sched.c | |
parent | 82a1fcb90287052aabfa235e7ffc693ea003fe69 (diff) | |
download | linux-63489e45e265f64c368882be1f01c42dec5d984c.tar.gz linux-63489e45e265f64c368882be1f01c42dec5d984c.tar.bz2 linux-63489e45e265f64c368882be1f01c42dec5d984c.zip |
sched: count # of queued RT tasks
This patch adds accounting to keep track of the number of RT tasks running
on a runqueue. This information will be used in later patches.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 5b3d46574eeb..9dd8d121eea6 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -342,6 +342,7 @@ struct rt_rq { struct rt_prio_array active; int rt_load_balance_idx; struct list_head *rt_load_balance_head, *rt_load_balance_curr; + unsigned long rt_nr_running; }; /* |