tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core
head: e337f389dc4d3748ba4342bd2d1c2133346b8691
commit: 92318ca36a5876d444849ea850534488e843f077 [2/4] sched/hotplug: Ensure only per-cpu
kthreads run during hotplug
config: i386-randconfig-r035-20200913 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 92318ca36a5876d444849ea850534488e843f077
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/bug.h:93,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:78,
from include/linux/rcupdate.h:27,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from include/linux/sched/numa_balancing.h:10,
from include/trace/events/sched.h:8,
from kernel/sched/core.c:10:
kernel/sched/sched.h: In function 'rq_pin_lock':
kernel/sched/sched.h:1225:18: error: 'struct rq' has no member named
'balance_callback'
1225 | SCHED_WARN_ON(rq->balance_callback);
| ^~
include/asm-generic/bug.h:157:27: note: in definition of macro 'WARN_ONCE'
157 | int __ret_warn_once = !!(condition); \
| ^~~~~~~~~
kernel/sched/sched.h:1225:2: note: in expansion of macro 'SCHED_WARN_ON'
1225 | SCHED_WARN_ON(rq->balance_callback);
| ^~~~~~~~~~~~~
kernel/sched/core.c: In function 'ttwu_stat':
kernel/sched/core.c:2423:13: warning: variable 'rq' set but not used
[-Wunused-but-set-variable]
2423 | struct rq *rq;
| ^~
In file included from arch/x86/include/asm/current.h:5,
from include/linux/sched.h:12,
from include/linux/sched/numa_balancing.h:10,
from include/trace/events/sched.h:8,
from kernel/sched/core.c:10:
kernel/sched/core.c: In function 'finish_lock_switch':
kernel/sched/core.c:3584:17: error: 'struct rq' has no member named
'balance_flags'
3584 | if (unlikely(rq->balance_flags)) {
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
kernel/sched/core.c:3590:11: error: 'struct rq' has no member named
'balance_flags'
3590 | !(rq->balance_flags & BALANCE_PUSH) ||
| ^~
kernel/sched/core.c:3590:29: error: 'BALANCE_PUSH' undeclared (first use in
this function)
3590 | !(rq->balance_flags & BALANCE_PUSH) ||
| ^~~~~~~~~~~~
kernel/sched/core.c:3590:29: note: each undeclared identifier is reported only once for
each function it appears in
kernel/sched/core.c: In function 'schedule_tail':
kernel/sched/core.c:3742:13: warning: variable 'rq' set but not used
[-Wunused-but-set-variable]
3742 | struct rq *rq;
| ^~
kernel/sched/core.c: At top level:
> kernel/sched/core.c:3574:13: warning: 'balance_push' used
but never defined
3574 | static bool balance_push(struct rq *rq);
| ^~~~~~~~~~~~
#
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/core
git checkout 92318ca36a5876d444849ea850534488e843f077
vim +/balance_push +3574 kernel/sched/core.c
3573
3574 static bool balance_push(struct rq *rq);
3575
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org