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>
This commit is contained in:
committed by
Ingo Molnar
parent
82a1fcb902
commit
63489e45e2
@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user