Loading Documentation/scheduler/sched-hmp.txt +1 −1 Original line number Diff line number Diff line Loading @@ -910,7 +910,7 @@ returns prev_runnable_sum, scaled to the efficiency and fmax of given CPU. The same applies to nt_curr_runnable_sum and nt_prev_runnable_sum. A 'new' task is defined as a task whose number of active windows since fork is less than sysctl_sched_new_task_windows. An active window is defined as a window less than SCHED_NEW_TASK_WINDOWS. An active window is defined as a window where a task was observed to be runnable. *** 6.2 Per-task window-based stats Loading kernel/sched/hmp.c +2 −2 Original line number Diff line number Diff line Loading @@ -711,7 +711,7 @@ __read_mostly unsigned int sysctl_sched_cpu_high_irqload = (10 * NSEC_PER_MSEC); unsigned int __read_mostly sysctl_sched_enable_thread_grouping; __read_mostly unsigned int sysctl_sched_new_task_windows = 5; #define SCHED_NEW_TASK_WINDOWS 5 #define SCHED_FREQ_ACCOUNT_WAIT_TIME 0 Loading Loading @@ -1842,7 +1842,7 @@ static int account_busy_for_cpu_time(struct rq *rq, struct task_struct *p, static inline bool is_new_task(struct task_struct *p) { return p->ravg.active_windows < sysctl_sched_new_task_windows; return p->ravg.active_windows < SCHED_NEW_TASK_WINDOWS; } #define INC_STEP 8 Loading kernel/sysctl.c +0 −7 Original line number Diff line number Diff line Loading @@ -450,13 +450,6 @@ static struct ctl_table kern_table[] = { .mode = 0644, .proc_handler = proc_dointvec, }, { .procname = "sched_new_task_windows", .data = &sysctl_sched_new_task_windows, .maxlen = sizeof(unsigned int), .mode = 0644, .proc_handler = sched_window_update_handler, }, { .procname = "sched_pred_alert_freq", .data = &sysctl_sched_pred_alert_freq, Loading Loading
Documentation/scheduler/sched-hmp.txt +1 −1 Original line number Diff line number Diff line Loading @@ -910,7 +910,7 @@ returns prev_runnable_sum, scaled to the efficiency and fmax of given CPU. The same applies to nt_curr_runnable_sum and nt_prev_runnable_sum. A 'new' task is defined as a task whose number of active windows since fork is less than sysctl_sched_new_task_windows. An active window is defined as a window less than SCHED_NEW_TASK_WINDOWS. An active window is defined as a window where a task was observed to be runnable. *** 6.2 Per-task window-based stats Loading
kernel/sched/hmp.c +2 −2 Original line number Diff line number Diff line Loading @@ -711,7 +711,7 @@ __read_mostly unsigned int sysctl_sched_cpu_high_irqload = (10 * NSEC_PER_MSEC); unsigned int __read_mostly sysctl_sched_enable_thread_grouping; __read_mostly unsigned int sysctl_sched_new_task_windows = 5; #define SCHED_NEW_TASK_WINDOWS 5 #define SCHED_FREQ_ACCOUNT_WAIT_TIME 0 Loading Loading @@ -1842,7 +1842,7 @@ static int account_busy_for_cpu_time(struct rq *rq, struct task_struct *p, static inline bool is_new_task(struct task_struct *p) { return p->ravg.active_windows < sysctl_sched_new_task_windows; return p->ravg.active_windows < SCHED_NEW_TASK_WINDOWS; } #define INC_STEP 8 Loading
kernel/sysctl.c +0 −7 Original line number Diff line number Diff line Loading @@ -450,13 +450,6 @@ static struct ctl_table kern_table[] = { .mode = 0644, .proc_handler = proc_dointvec, }, { .procname = "sched_new_task_windows", .data = &sysctl_sched_new_task_windows, .maxlen = sizeof(unsigned int), .mode = 0644, .proc_handler = sched_window_update_handler, }, { .procname = "sched_pred_alert_freq", .data = &sysctl_sched_pred_alert_freq, Loading