hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/include/linux/sched.h
....@@ -1687,7 +1687,6 @@
16871687 }
16881688
16891689 extern int cpuset_cpumask_can_shrink(const struct cpumask *cur, const struct cpumask *trial);
1690
-extern int task_can_attach(struct task_struct *p, const struct cpumask *cs_effective_cpus);
16911690
16921691 #ifdef CONFIG_RT_SOFTINT_OPTIMIZATION
16931692 extern bool cpupri_check_rt(void);
....@@ -1698,6 +1697,9 @@
16981697 }
16991698 #endif
17001699
1700
+extern int task_can_attach(struct task_struct *p);
1701
+extern int dl_bw_alloc(int cpu, u64 dl_bw);
1702
+extern void dl_bw_free(int cpu, u64 dl_bw);
17011703 #ifdef CONFIG_SMP
17021704 extern void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask);
17031705 extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask);