tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent
head: 75f33978239fe8a05ffb95f301eccb166699ac49
commit: 75f33978239fe8a05ffb95f301eccb166699ac49 [1/1] sched/fair: Correctly insert
cfs_rq's to list on unthrottle
config: x86_64-randconfig-a015-20210613 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
64720f57bea6a6bf033feef4a5751ab9c0c3b401)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/urgent
git checkout 75f33978239fe8a05ffb95f301eccb166699ac49
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/sched/fair.c:637:5: warning: no previous prototype for function
'sched_update_scaling' [-Wmissing-prototypes]
int sched_update_scaling(void)
^
kernel/sched/fair.c:637:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int sched_update_scaling(void)
^
static
> kernel/sched/fair.c:4771:8: error: implicit declaration of
function 'cfs_rq_is_decayed' [-Werror,-Wimplicit-function-declaration]
if (!cfs_rq_is_decayed(cfs_rq) || cfs_rq->nr_running)
^
1 warning and 1 error generated.
vim +/cfs_rq_is_decayed +4771 kernel/sched/fair.c
4759
4760 static int tg_unthrottle_up(struct task_group *tg, void *data)
4761 {
4762 struct rq *rq = data;
4763 struct cfs_rq *cfs_rq = tg->cfs_rq[cpu_of(rq)];
4764
4765 cfs_rq->throttle_count--;
4766 if (!cfs_rq->throttle_count) {
4767 cfs_rq->throttled_clock_task_time += rq_clock_task(rq) -
4768 cfs_rq->throttled_clock_task;
4769
4770 /* Add cfs_rq with load or one or more already running entities to the list */
4771 if (!cfs_rq_is_decayed(cfs_rq) || cfs_rq->nr_running)
4772 list_add_leaf_cfs_rq(cfs_rq);
4773 }
4774
4775 return 0;
4776 }
4777
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org