Loading include/linux/sched.h +12 −0 Original line number Diff line number Diff line Loading @@ -1720,9 +1720,21 @@ extern void thread_group_cputime_adjusted(struct task_struct *p, cputime_t *ut, extern int task_free_register(struct notifier_block *n); extern int task_free_unregister(struct notifier_block *n); #ifdef CONFIG_SCHED_FREQ_INPUT extern int sched_set_window(u64 window_start, unsigned int window_size); extern unsigned long sched_get_busy(int cpu); extern void sched_set_io_is_busy(int val); #else static inline int sched_set_window(u64 window_start, unsigned int window_size) { return -EINVAL; } static inline unsigned long sched_get_busy(int cpu) { return 0; } static inline void sched_set_io_is_busy(int val) {}; #endif /* * Per process flags Loading Loading
include/linux/sched.h +12 −0 Original line number Diff line number Diff line Loading @@ -1720,9 +1720,21 @@ extern void thread_group_cputime_adjusted(struct task_struct *p, cputime_t *ut, extern int task_free_register(struct notifier_block *n); extern int task_free_unregister(struct notifier_block *n); #ifdef CONFIG_SCHED_FREQ_INPUT extern int sched_set_window(u64 window_start, unsigned int window_size); extern unsigned long sched_get_busy(int cpu); extern void sched_set_io_is_busy(int val); #else static inline int sched_set_window(u64 window_start, unsigned int window_size) { return -EINVAL; } static inline unsigned long sched_get_busy(int cpu) { return 0; } static inline void sched_set_io_is_busy(int val) {}; #endif /* * Per process flags Loading