[PATCH] sched: schedstats update for balance on fork
Add SCHEDSTAT statistics for sched-balance-fork. Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
147cbb4bbe
commit
68767a0ae4
2 changed files with 46 additions and 31 deletions
|
@ -517,10 +517,16 @@ struct sched_domain {
|
|||
unsigned long alb_failed;
|
||||
unsigned long alb_pushed;
|
||||
|
||||
/* sched_balance_exec() stats */
|
||||
unsigned long sbe_attempts;
|
||||
/* SD_BALANCE_EXEC stats */
|
||||
unsigned long sbe_cnt;
|
||||
unsigned long sbe_balanced;
|
||||
unsigned long sbe_pushed;
|
||||
|
||||
/* SD_BALANCE_FORK stats */
|
||||
unsigned long sbf_cnt;
|
||||
unsigned long sbf_balanced;
|
||||
unsigned long sbf_pushed;
|
||||
|
||||
/* try_to_wake_up() stats */
|
||||
unsigned long ttwu_wake_remote;
|
||||
unsigned long ttwu_move_affine;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue