aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-01-25 15:08:03 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-25 15:08:03 -0500
commit63489e45e265f64c368882be1f01c42dec5d984c (patch)
treed228ccbe22bc421c36455c7e05480247a4a8d2b1 /kernel/sched.c
parent82a1fcb90287052aabfa235e7ffc693ea003fe69 (diff)
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.c1
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 {
342 struct rt_prio_array active; 342 struct rt_prio_array active;
343 int rt_load_balance_idx; 343 int rt_load_balance_idx;
344 struct list_head *rt_load_balance_head, *rt_load_balance_curr; 344 struct list_head *rt_load_balance_head, *rt_load_balance_curr;
345 unsigned long rt_nr_running;
345}; 346};
346 347
347/* 348/*