mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
sched/walt: Remove left over code related to kernel command line param
There are references to kernel command line parameters like sched_predl and sched_ravg_window. These are not supported any more. So remove the left over code. Change-Id: I865f44fafee3a1d8f3d0d6f8f7e2341aff9ca964 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
This commit is contained in:
parent
09445f02e8
commit
6f013c2fae
|
|
@ -80,7 +80,6 @@ unsigned int __read_mostly sched_init_task_load_windows;
|
|||
* sched_load_granule.
|
||||
*/
|
||||
unsigned int __read_mostly sched_load_granule;
|
||||
__read_mostly bool sched_predl = true;
|
||||
|
||||
/*
|
||||
*@boost:should be 0,1,2.
|
||||
|
|
@ -1261,9 +1260,6 @@ static void update_task_pred_demand(struct rq *rq, struct task_struct *p, int ev
|
|||
u16 new_scaled;
|
||||
struct walt_task_struct *wts = (struct walt_task_struct *) p->android_vendor_data1;
|
||||
|
||||
if (!sched_predl)
|
||||
return;
|
||||
|
||||
if (is_idle_task(p))
|
||||
return;
|
||||
|
||||
|
|
@ -1809,9 +1805,6 @@ static inline u32 predict_and_update_buckets(
|
|||
u32 pred_demand;
|
||||
struct walt_task_struct *wts = (struct walt_task_struct *) p->android_vendor_data1;
|
||||
|
||||
if (!sched_predl)
|
||||
return 0;
|
||||
|
||||
bidx = busy_to_bucket(runtime);
|
||||
pred_demand = get_pred_busy(p, bidx, runtime);
|
||||
bucket_increase(wts->busy_buckets, bidx);
|
||||
|
|
@ -3947,8 +3940,6 @@ static void android_rvh_try_to_wake_up_success(void *unused, struct task_struct
|
|||
|
||||
if (static_branch_unlikely(&walt_disabled))
|
||||
return;
|
||||
if (!sched_predl)
|
||||
return;
|
||||
|
||||
raw_spin_lock_irqsave(&cpu_rq(cpu)->lock, flags);
|
||||
if (do_pl_notif(cpu_rq(cpu)))
|
||||
|
|
|
|||
|
|
@ -137,10 +137,6 @@ struct walt_task_struct {
|
|||
bool iowaited;
|
||||
};
|
||||
|
||||
/*End linux/sched.h port */
|
||||
/*SCHED.H PORT*/
|
||||
extern __read_mostly bool sched_predl;
|
||||
|
||||
struct walt_cpu_load {
|
||||
unsigned long nl;
|
||||
unsigned long pl;
|
||||
|
|
@ -299,8 +295,6 @@ extern void acquire_rq_locks_irqsave(const cpumask_t *cpus,
|
|||
extern void release_rq_locks_irqrestore(const cpumask_t *cpus,
|
||||
unsigned long *flags);
|
||||
extern struct list_head cluster_head;
|
||||
extern int set_sched_ravg_window(char *str);
|
||||
extern int set_sched_predl(char *str);
|
||||
extern int input_boost_init(void);
|
||||
extern int core_ctl_init(void);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user