sched: Move cfs_bandwidth_slice sysctls to fair.c
move cfs_bandwidth_slice sysctls to fair.c and use the new register_sysctl_init() to register the sysctl interface. Signed-off-by: Zhen Ni <nizhen@uniontech.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
This commit is contained in:
parent
3267e0156c
commit
d4ae80ffa6
3 changed files with 31 additions and 34 deletions
|
|
@ -31,10 +31,6 @@ extern int sysctl_numa_balancing_mode;
|
|||
#define sysctl_numa_balancing_mode 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CFS_BANDWIDTH
|
||||
extern unsigned int sysctl_sched_cfs_bandwidth_slice;
|
||||
#endif
|
||||
|
||||
int sysctl_numa_balancing(struct ctl_table *table, int write, void *buffer,
|
||||
size_t *lenp, loff_t *ppos);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue