Linux cgroups development
 help / color / mirror / Atom feed
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,
	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 03:20:18 +0800	[thread overview]
Message-ID: <202106040311.MyfnzE12-lkp@intel.com> (raw)
In-Reply-To: <20210603140032.224359-1-odin-RObV4cXtwVA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2875 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: i386-randconfig-r036-20210603 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # 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
        make W=1 ARCH=i386 

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: In function 'cfs_rq_is_decayed':
>> kernel/sched/fair.c:392:12: error: 'struct cfs_rq' has no member named 'avg'
     392 |  if (cfs_rq->avg.load_sum)
         |            ^~
   kernel/sched/fair.c:395:12: error: 'struct cfs_rq' has no member named 'avg'
     395 |  if (cfs_rq->avg.util_sum)
         |            ^~
   kernel/sched/fair.c:398:12: error: 'struct cfs_rq' has no member named 'avg'
     398 |  if (cfs_rq->avg.runnable_sum)
         |            ^~
   kernel/sched/fair.c: At top level:
   kernel/sched/fair.c:608:5: warning: no previous prototype for 'sched_update_scaling' [-Wmissing-prototypes]
     608 | int sched_update_scaling(void)
         |     ^~~~~~~~~~~~~~~~~~~~


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: 31174 bytes --]

  parent reply	other threads:[~2021-06-03 19:20 UTC|newest]

Thread overview: 4+ 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
     [not found] ` <20210603140032.224359-1-odin-RObV4cXtwVA@public.gmane.org>
2021-06-03 19:20   ` kernel test robot [this message]
2021-06-03 21:11   ` 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=202106040311.MyfnzE12-lkp@intel.com \
    --to=lkp-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=bristot-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=bsegall-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=dietmar.eggemann-5wv7dgnIgG8@public.gmane.org \
    --cc=juri.lelli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=kbuild-all-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org \
    --cc=mgorman-l3A5Bk7waGM@public.gmane.org \
    --cc=mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=odin-RObV4cXtwVA@public.gmane.org \
    --cc=peterz-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=rostedt-nx8X9YLhiw1AfugRpC6u6w@public.gmane.org \
    --cc=vincent.guittot-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox