Loading include/linux/sched.h +3 −0 Original line number Diff line number Diff line Loading @@ -2508,6 +2508,9 @@ static inline bool cpupri_check_rt(void) } #endif 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); #ifdef CONFIG_NO_HZ_COMMON void calc_load_enter_idle(void); void calc_load_exit_idle(void); Loading kernel/sched/fair.c +12 −0 Original line number Diff line number Diff line Loading @@ -2661,6 +2661,18 @@ static inline void update_cfs_shares(struct sched_entity *se) } #endif /* CONFIG_FAIR_GROUP_SCHED */ u32 sched_get_wake_up_idle(struct task_struct *p) { return 0; } EXPORT_SYMBOL(sched_get_wake_up_idle); int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle) { return 0; } EXPORT_SYMBOL(sched_set_wake_up_idle); #ifdef CONFIG_SMP static const u32 runnable_avg_yN_inv[] = { 0xffffffff, 0xfa83b2da, 0xf5257d14, 0xefe4b99a, 0xeac0c6e6, 0xe5b906e6, Loading Loading
include/linux/sched.h +3 −0 Original line number Diff line number Diff line Loading @@ -2508,6 +2508,9 @@ static inline bool cpupri_check_rt(void) } #endif 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); #ifdef CONFIG_NO_HZ_COMMON void calc_load_enter_idle(void); void calc_load_exit_idle(void); Loading
kernel/sched/fair.c +12 −0 Original line number Diff line number Diff line Loading @@ -2661,6 +2661,18 @@ static inline void update_cfs_shares(struct sched_entity *se) } #endif /* CONFIG_FAIR_GROUP_SCHED */ u32 sched_get_wake_up_idle(struct task_struct *p) { return 0; } EXPORT_SYMBOL(sched_get_wake_up_idle); int sched_set_wake_up_idle(struct task_struct *p, int wake_up_idle) { return 0; } EXPORT_SYMBOL(sched_set_wake_up_idle); #ifdef CONFIG_SMP static const u32 runnable_avg_yN_inv[] = { 0xffffffff, 0xfa83b2da, 0xf5257d14, 0xefe4b99a, 0xeac0c6e6, 0xe5b906e6, Loading