Re: [patch] sched: disable task group re-weighting on the desktop

From: kbuild test robot
Date: Sat Oct 10 2015 - 10:04:40 EST


Hi Mike,

[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: mips-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mips

All errors (new ones prefixed by >>):

In file included from kernel/sched/fair.c:36:0:
kernel/sched/fair.c: In function 'update_cfs_shares':
>> kernel/sched/sched.h:1001:24: error: implicit declaration of function 'static_branch_SMP_FAIR_GROUPS' [-Werror=implicit-function-declaration]
#define sched_feat(x) (static_branch_##x(&sched_feat_keys[__SCHED_FEAT_##x]))
^
kernel/sched/fair.c:2425:34: note: in expansion of macro 'sched_feat'
if (!IS_ENABLED(CONFIG_SMP) || !sched_feat(SMP_FAIR_GROUPS)) {
^
kernel/sched/sched.h:1001:59: error: '__SCHED_FEAT_SMP_FAIR_GROUPS' undeclared (first use in this function)
#define sched_feat(x) (static_branch_##x(&sched_feat_keys[__SCHED_FEAT_##x]))
^
kernel/sched/fair.c:2425:34: note: in expansion of macro 'sched_feat'
if (!IS_ENABLED(CONFIG_SMP) || !sched_feat(SMP_FAIR_GROUPS)) {
^
kernel/sched/sched.h:1001:59: note: each undeclared identifier is reported only once for each function it appears in
#define sched_feat(x) (static_branch_##x(&sched_feat_keys[__SCHED_FEAT_##x]))
^
kernel/sched/fair.c:2425:34: note: in expansion of macro 'sched_feat'
if (!IS_ENABLED(CONFIG_SMP) || !sched_feat(SMP_FAIR_GROUPS)) {
^
cc1: some warnings being treated as errors

vim +/static_branch_SMP_FAIR_GROUPS +1001 kernel/sched/sched.h

029632fb kernel/sched.h Peter Zijlstra 2011-10-25 985 };
029632fb kernel/sched.h Peter Zijlstra 2011-10-25 986
029632fb kernel/sched.h Peter Zijlstra 2011-10-25 987 #undef SCHED_FEAT
029632fb kernel/sched.h Peter Zijlstra 2011-10-25 988
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 989 #if defined(CONFIG_SCHED_DEBUG) && defined(HAVE_JUMP_LABEL)
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 990 #define SCHED_FEAT(name, enabled) \
c5905afb kernel/sched/sched.h Ingo Molnar 2012-02-24 991 static __always_inline bool static_branch_##name(struct static_key *key) \
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 992 { \
6e76ea8a kernel/sched/sched.h Jason Baron 2014-07-02 993 return static_key_##enabled(key); \
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 994 }
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 995
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 996 #include "features.h"
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 997
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 998 #undef SCHED_FEAT
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 999
c5905afb kernel/sched/sched.h Ingo Molnar 2012-02-24 1000 extern struct static_key sched_feat_keys[__SCHED_FEAT_NR];
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 @1001 #define sched_feat(x) (static_branch_##x(&sched_feat_keys[__SCHED_FEAT_##x]))
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 1002 #else /* !(SCHED_DEBUG && HAVE_JUMP_LABEL) */
029632fb kernel/sched.h Peter Zijlstra 2011-10-25 1003 #define sched_feat(x) (sysctl_sched_features & (1UL << __SCHED_FEAT_##x))
f8b6d1cc kernel/sched/sched.h Peter Zijlstra 2011-07-06 1004 #endif /* SCHED_DEBUG && HAVE_JUMP_LABEL */
029632fb kernel/sched.h Peter Zijlstra 2011-10-25 1005
cbee9f88 kernel/sched/sched.h Peter Zijlstra 2012-10-25 1006 #ifdef CONFIG_NUMA_BALANCING
cbee9f88 kernel/sched/sched.h Peter Zijlstra 2012-10-25 1007 #define sched_feat_numa(x) sched_feat(x)
3105b86a kernel/sched/sched.h Mel Gorman 2012-11-23 1008 #ifdef CONFIG_SCHED_DEBUG
3105b86a kernel/sched/sched.h Mel Gorman 2012-11-23 1009 #define numabalancing_enabled sched_feat_numa(NUMA)

:::::: The code at line 1001 was first introduced by commit
:::::: f8b6d1cc7dc15cf3de538b864eefaedad7a84d85 sched: Use jump_labels for sched_feat

:::::: TO: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxx>

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

Attachment: .config.gz
Description: Binary data