tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core
head: fdc5e2244086bfe60668a6579fc9a7e6bfc53e75
commit: 2607a2f1fc11e4f9feca3842e3e6e4c2ba7befa7 [3/5] sched/fair: Eliminate bandwidth
race between throttling and distribution
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 2607a2f1fc11e4f9feca3842e3e6e4c2ba7befa7
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/x86/include/asm/bug.h:83:0,
from include/linux/bug.h:5,
from arch/x86/include/asm/paravirt.h:15,
from arch/x86/include/asm/irqflags.h:72,
from include/linux/irqflags.h:16,
from include/linux/rcupdate.h:26,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/sched.h:5,
from kernel/sched/fair.c:23:
kernel/sched/fair.c: In function '__assign_cfs_rq_runtime':
> include/linux/lockdep.h:409:52: error: invalid type argument of
'->' (have 'raw_spinlock_t {aka struct raw_spinlock}')
#define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
^
include/asm-generic/bug.h:113:25: note: in definition of macro 'WARN_ON'
int __ret_warn_on = !!(condition); \
^~~~~~~~~
include/linux/lockdep.h:435:27: note: in expansion of macro 'lockdep_is_held'
WARN_ON(debug_locks && !lockdep_is_held(l)); \
^~~~~~~~~~~~~~~
kernel/sched/fair.c:4596:2: note: in expansion of macro 'lockdep_assert_held'
lockdep_assert_held(cfs_b->lock);
^~~~~~~~~~~~~~~~~~~
vim +409 include/linux/lockdep.h
f607c668577481 Peter Zijlstra 2009-07-20 408
f8319483f57f1c Peter Zijlstra 2016-11-30 @409 #define
lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
f8319483f57f1c Peter Zijlstra 2016-11-30 410 #define lockdep_is_held_type(lock,
r) lock_is_held_type(&(lock)->dep_map, (r))
f607c668577481 Peter Zijlstra 2009-07-20 411
:::::: The code at line 409 was first introduced by commit
:::::: f8319483f57f1ca22370f4150bb990aca7728a67 locking/lockdep: Provide a type check for
lock_is_held
:::::: TO: Peter Zijlstra <peterz(a)infradead.org>
:::::: CC: Dave Chinner <david(a)fromorbit.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org