Loading include/linux/sched.h +16 −3 Original line number Diff line number Diff line Loading @@ -184,6 +184,22 @@ extern void sched_get_nr_running_avg(int *avg, int *iowait_avg, int *big_avg, unsigned int *big_max_nr); extern u64 sched_get_cpu_last_busy_time(int cpu); #ifdef CONFIG_SMP extern u32 sched_get_wake_up_idle(struct task_struct *p); extern int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle); #else static inline u32 sched_get_wake_up_idle(struct task_struct *p) { return 0; } static inline int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle) { return 0; } #endif /* CONFIG_SMP */ extern void calc_global_load(unsigned long ticks); #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON) Loading Loading @@ -2547,9 +2563,6 @@ struct sched_load { unsigned long predicted_load; }; extern int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle); extern u32 sched_get_wake_up_idle(struct task_struct *p); struct cpu_cycle_counter_cb { u64 (*get_cpu_cycle_counter)(int cpu); }; Loading kernel/sched/fair.c +2 −0 Original line number Diff line number Diff line Loading @@ -2641,6 +2641,7 @@ u32 sched_get_wake_up_idle(struct task_struct *p) return !!enabled; } EXPORT_SYMBOL(sched_get_wake_up_idle); int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle) { Loading @@ -2653,6 +2654,7 @@ int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle) return 0; } EXPORT_SYMBOL(sched_set_wake_up_idle); static const u32 runnable_avg_yN_inv[] = { 0xffffffff, 0xfa83b2da, 0xf5257d14, 0xefe4b99a, 0xeac0c6e6, 0xe5b906e6, Loading Loading
include/linux/sched.h +16 −3 Original line number Diff line number Diff line Loading @@ -184,6 +184,22 @@ extern void sched_get_nr_running_avg(int *avg, int *iowait_avg, int *big_avg, unsigned int *big_max_nr); extern u64 sched_get_cpu_last_busy_time(int cpu); #ifdef CONFIG_SMP extern u32 sched_get_wake_up_idle(struct task_struct *p); extern int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle); #else static inline u32 sched_get_wake_up_idle(struct task_struct *p) { return 0; } static inline int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle) { return 0; } #endif /* CONFIG_SMP */ extern void calc_global_load(unsigned long ticks); #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON) Loading Loading @@ -2547,9 +2563,6 @@ struct sched_load { unsigned long predicted_load; }; extern int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle); extern u32 sched_get_wake_up_idle(struct task_struct *p); struct cpu_cycle_counter_cb { u64 (*get_cpu_cycle_counter)(int cpu); }; Loading
kernel/sched/fair.c +2 −0 Original line number Diff line number Diff line Loading @@ -2641,6 +2641,7 @@ u32 sched_get_wake_up_idle(struct task_struct *p) return !!enabled; } EXPORT_SYMBOL(sched_get_wake_up_idle); int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle) { Loading @@ -2653,6 +2654,7 @@ int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle) return 0; } EXPORT_SYMBOL(sched_set_wake_up_idle); static const u32 runnable_avg_yN_inv[] = { 0xffffffff, 0xfa83b2da, 0xf5257d14, 0xefe4b99a, 0xeac0c6e6, 0xe5b906e6, Loading