mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
sched: Completely remove CFS_BANDWIDTH support in WALT
Commit I4f3c66a1b567976aadb4a4f91a3dd66230386981 removed support for CFS_BANDWIDTH, but few stubs are left out. Remove remaining stubs. Change-Id: I670102fa2efb585106e9c7b60277ff142d64465b Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
This commit is contained in:
parent
30a50dfa74
commit
ced6b885d7
2 changed files with 0 additions and 24 deletions
|
|
@ -5506,7 +5506,6 @@ static void dequeue_task_fair(struct rq *rq, struct task_struct *p, int flags)
|
|||
break;
|
||||
cfs_rq->h_nr_running--;
|
||||
cfs_rq->idle_h_nr_running -= idle_h_nr_running;
|
||||
walt_dec_cfs_rq_stats(cfs_rq, p);
|
||||
|
||||
/* Don't dequeue parent if it has other entities besides us */
|
||||
if (cfs_rq->load.weight) {
|
||||
|
|
@ -5527,7 +5526,6 @@ static void dequeue_task_fair(struct rq *rq, struct task_struct *p, int flags)
|
|||
cfs_rq = cfs_rq_of(se);
|
||||
cfs_rq->h_nr_running--;
|
||||
cfs_rq->idle_h_nr_running -= idle_h_nr_running;
|
||||
walt_dec_cfs_rq_stats(cfs_rq, p);
|
||||
|
||||
if (cfs_rq_throttled(cfs_rq))
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -3273,28 +3273,6 @@ struct sched_avg_stats {
|
|||
};
|
||||
extern void sched_get_nr_running_avg(struct sched_avg_stats *stats);
|
||||
|
||||
#if defined(CONFIG_SCHED_WALT) && defined(CONFIG_CFS_BANDWIDTH)
|
||||
|
||||
extern void walt_init_cfs_rq_stats(struct cfs_rq *cfs_rq);
|
||||
extern void walt_inc_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p);
|
||||
extern void walt_dec_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p);
|
||||
extern void walt_inc_throttled_cfs_rq_stats(struct walt_sched_stats *stats,
|
||||
struct cfs_rq *cfs_rq);
|
||||
extern void walt_dec_throttled_cfs_rq_stats(struct walt_sched_stats *stats,
|
||||
struct cfs_rq *cfs_rq);
|
||||
#else
|
||||
static inline void walt_init_cfs_rq_stats(struct cfs_rq *cfs_rq) {}
|
||||
static inline void
|
||||
walt_inc_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p) {}
|
||||
static inline void
|
||||
walt_dec_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p) {}
|
||||
|
||||
#define walt_inc_throttled_cfs_rq_stats(...)
|
||||
#define walt_dec_throttled_cfs_rq_stats(...)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
#ifdef CONFIG_SCHED_WALT
|
||||
extern int group_balance_cpu_not_isolated(struct sched_group *sg);
|
||||
|
|
|
|||
Loading…
Reference in a new issue