mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
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:
parent
82a1fcb902
commit
63489e45e2
2 changed files with 18 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue