From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3] sched/fair: Correctly insert cfs_rq's to list on unthrottle
Date: Fri, 04 Jun 2021 05:11:41 +0800 [thread overview]
Message-ID: <202106040542.n9lJdvI6-lkp@intel.com> (raw)
In-Reply-To: <20210603140032.224359-1-odin@uged.al>
[-- Attachment #1: Type: text/plain, Size: 3367 bytes --]
Hi Odin,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/sched/core]
[also build test ERROR on tip/master linux/master linus/master v5.13-rc4 next-20210603]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Odin-Ugedal/sched-fair-Correctly-insert-cfs_rq-s-to-list-on-unthrottle/20210603-220448
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 858f9e11be8855ed62cb97e58174515da595c76b
config: x86_64-randconfig-a002-20210603 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d8e0ae9a76a62bdc6117630d59bf9967ac9bb4ea)
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://github.com/0day-ci/linux/commit/00f0e270f61d4f8a192ee519dda403d4656c910c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Odin-Ugedal/sched-fair-Correctly-insert-cfs_rq-s-to-list-on-unthrottle/20210603-220448
git checkout 00f0e270f61d4f8a192ee519dda403d4656c910c
# 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@intel.com>
All errors (new ones prefixed by >>):
>> kernel/sched/fair.c:392:14: error: no member named 'avg' in 'struct cfs_rq'
if (cfs_rq->avg.load_sum)
~~~~~~ ^
kernel/sched/fair.c:395:14: error: no member named 'avg' in 'struct cfs_rq'
if (cfs_rq->avg.util_sum)
~~~~~~ ^
kernel/sched/fair.c:398:14: error: no member named 'avg' in 'struct cfs_rq'
if (cfs_rq->avg.runnable_sum)
~~~~~~ ^
kernel/sched/fair.c:608:5: warning: no previous prototype for function 'sched_update_scaling' [-Wmissing-prototypes]
int sched_update_scaling(void)
^
kernel/sched/fair.c:608:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int sched_update_scaling(void)
^
static
1 warning and 3 errors generated.
vim +392 kernel/sched/fair.c
381
382 /* Iterate thr' all leaf cfs_rq's on a runqueue */
383 #define for_each_leaf_cfs_rq_safe(rq, cfs_rq, pos) \
384 list_for_each_entry_safe(cfs_rq, pos, &rq->leaf_cfs_rq_list, \
385 leaf_cfs_rq_list)
386
387 static inline bool cfs_rq_is_decayed(struct cfs_rq *cfs_rq)
388 {
389 if (cfs_rq->load.weight)
390 return false;
391
> 392 if (cfs_rq->avg.load_sum)
393 return false;
394
395 if (cfs_rq->avg.util_sum)
396 return false;
397
398 if (cfs_rq->avg.runnable_sum)
399 return false;
400
401 return true;
402 }
403
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37140 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Odin Ugedal <odin-RObV4cXtwVA@public.gmane.org>,
Ingo Molnar <mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Peter Zijlstra <peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
Juri Lelli <juri.lelli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Vincent Guittot
<vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Dietmar Eggemann <dietmar.eggemann-5wv7dgnIgG8@public.gmane.org>,
Steven Rostedt <rostedt-nx8X9YLhiw1AfugRpC6u6w@public.gmane.org>,
Ben Segall <bsegall-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
Mel Gorman <mgorman-l3A5Bk7waGM@public.gmane.org>,
Daniel Bristot de Oliveira
<bristot-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: kbuild-all-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org,
clang-built-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v3] sched/fair: Correctly insert cfs_rq's to list on unthrottle
Date: Fri, 4 Jun 2021 05:11:41 +0800 [thread overview]
Message-ID: <202106040542.n9lJdvI6-lkp@intel.com> (raw)
In-Reply-To: <20210603140032.224359-1-odin-RObV4cXtwVA@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 3343 bytes --]
Hi Odin,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/sched/core]
[also build test ERROR on tip/master linux/master linus/master v5.13-rc4 next-20210603]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Odin-Ugedal/sched-fair-Correctly-insert-cfs_rq-s-to-list-on-unthrottle/20210603-220448
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 858f9e11be8855ed62cb97e58174515da595c76b
config: x86_64-randconfig-a002-20210603 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d8e0ae9a76a62bdc6117630d59bf9967ac9bb4ea)
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://github.com/0day-ci/linux/commit/00f0e270f61d4f8a192ee519dda403d4656c910c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Odin-Ugedal/sched-fair-Correctly-insert-cfs_rq-s-to-list-on-unthrottle/20210603-220448
git checkout 00f0e270f61d4f8a192ee519dda403d4656c910c
# 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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
All errors (new ones prefixed by >>):
>> kernel/sched/fair.c:392:14: error: no member named 'avg' in 'struct cfs_rq'
if (cfs_rq->avg.load_sum)
~~~~~~ ^
kernel/sched/fair.c:395:14: error: no member named 'avg' in 'struct cfs_rq'
if (cfs_rq->avg.util_sum)
~~~~~~ ^
kernel/sched/fair.c:398:14: error: no member named 'avg' in 'struct cfs_rq'
if (cfs_rq->avg.runnable_sum)
~~~~~~ ^
kernel/sched/fair.c:608:5: warning: no previous prototype for function 'sched_update_scaling' [-Wmissing-prototypes]
int sched_update_scaling(void)
^
kernel/sched/fair.c:608:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int sched_update_scaling(void)
^
static
1 warning and 3 errors generated.
vim +392 kernel/sched/fair.c
381
382 /* Iterate thr' all leaf cfs_rq's on a runqueue */
383 #define for_each_leaf_cfs_rq_safe(rq, cfs_rq, pos) \
384 list_for_each_entry_safe(cfs_rq, pos, &rq->leaf_cfs_rq_list, \
385 leaf_cfs_rq_list)
386
387 static inline bool cfs_rq_is_decayed(struct cfs_rq *cfs_rq)
388 {
389 if (cfs_rq->load.weight)
390 return false;
391
> 392 if (cfs_rq->avg.load_sum)
393 return false;
394
395 if (cfs_rq->avg.util_sum)
396 return false;
397
398 if (cfs_rq->avg.runnable_sum)
399 return false;
400
401 return true;
402 }
403
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37140 bytes --]
next prev parent reply other threads:[~2021-06-03 21:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 14:00 [PATCH v3] sched/fair: Correctly insert cfs_rq's to list on unthrottle Odin Ugedal
2021-06-03 19:20 ` kernel test robot
2021-06-03 19:20 ` kernel test robot
2021-06-03 21:11 ` kernel test robot [this message]
2021-06-03 21:11 ` kernel test robot
2021-06-03 21:54 ` kernel test robot
2021-06-03 21:54 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202106040542.n9lJdvI6-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.