Re: [PATCH] sched/fair: make CFS bandwidth slice per cpu group

From: kbuild test robot
Date: Mon Apr 30 2018 - 20:58:27 EST


Hi Cong,

I love your patch! Yet something to improve:

[auto build test ERROR on tip/sched/core]
[also build test ERROR on v4.17-rc3 next-20180430]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Cong-Wang/sched-fair-make-CFS-bandwidth-slice-per-cpu-group/20180501-064013
config: i386-randconfig-x003-201817 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

In file included from kernel/sched/debug.c:12:0:
kernel/sched/sched.h: In function 'sched_default_cfs_bandwidth_slice':
>> kernel/sched/sched.h:438:14: error: 'sysctl_sched_cfs_bandwidth_slice' undeclared (first use in this function); did you mean 'sched_default_cfs_bandwidth_slice'?
return (u64)sysctl_sched_cfs_bandwidth_slice * NSEC_PER_USEC;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sched_default_cfs_bandwidth_slice
kernel/sched/sched.h:438:14: note: each undeclared identifier is reported only once for each function it appears in

vim +438 kernel/sched/sched.h

435
436 static inline u64 sched_default_cfs_bandwidth_slice(void)
437 {
> 438 return (u64)sysctl_sched_cfs_bandwidth_slice * NSEC_PER_USEC;
439 }
440

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip