sched/fair: Add snapshot of placement changes

This snapshot is taken from msm-4.19 as of commit 22d004c08a27
("sched/fair: Improve the scheduler").

Change-Id: I8fc95a4a4650de0dc36bd979d374b9335f6af774
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
Satya Durga Srinivasu Prabhala
2018-01-18 14:40:51 -08:00
committed by Gerrit - the friendly Code Review server
parent 9ef4c50bb2
commit fb1332306e
6 changed files with 1045 additions and 93 deletions

View File

@@ -885,6 +885,13 @@ struct root_domain {
* CPUs of the rd. Protected by RCU.
*/
struct perf_domain __rcu *pd;
#ifdef CONFIG_SCHED_WALT
/* First cpu with maximum and minimum original capacity */
int max_cap_orig_cpu, min_cap_orig_cpu;
/* First cpu with mid capacity */
int mid_cap_orig_cpu;
#endif
};
extern void init_defrootdomain(void);