sched/fair: Start tracking SCHED_IDLE tasks count in cfs_rq
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 26 Jun 2019 05:06:29 +0000 (10:36 +0530)
committerIngo Molnar <mingo@kernel.org>
Thu, 25 Jul 2019 13:51:53 +0000 (15:51 +0200)
commit43e9f7f231e40e4534fc3a735da152911a085c16
treef54f6e742038d4afdd42ec327072dde55ac2fab0
parent84ec3a0787086fcd25f284f59b3aa01fd6fc0a5d
sched/fair: Start tracking SCHED_IDLE tasks count in cfs_rq

Track how many tasks are present with SCHED_IDLE policy in each cfs_rq.
This will be used by later commits.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: chris.redpath@arm.com
Cc: quentin.perret@linaro.org
Cc: songliubraving@fb.com
Cc: steven.sistare@oracle.com
Cc: subhra.mazumdar@oracle.com
Cc: tkjos@google.com
Link: https://lkml.kernel.org/r/0d3cdc427fc68808ad5bccc40e86ed0bf9da8bb4.1561523542.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c
kernel/sched/sched.h