public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Imran Khan <imran.f.khan@oracle.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH] sched: fair: reset task_group.load_avg when there are no running tasks.
Date: Sun, 17 Dec 2023 14:10:32 +0800	[thread overview]
Message-ID: <202312171440.Nj64lUjd-lkp@intel.com> (raw)
In-Reply-To: <20231215052652.917741-1-imran.f.khan@oracle.com>

Hi Imran,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on tip/sched/core]
[also build test ERROR on peterz-queue/sched/core linus/master v6.7-rc5 next-20231215]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Imran-Khan/sched-fair-reset-task_group-load_avg-when-there-are-no-running-tasks/20231215-132912
base:   tip/sched/core
patch link:    https://lore.kernel.org/r/20231215052652.917741-1-imran.f.khan%40oracle.com
patch subject: [RFC PATCH] sched: fair: reset task_group.load_avg when there are no running tasks.
config: i386-buildonly-randconfig-001-20231217 (https://download.01.org/0day-ci/archive/20231217/202312171440.Nj64lUjd-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231217/202312171440.Nj64lUjd-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312171440.Nj64lUjd-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/sched/fair.c:3579:45: error: no member named 'cfs_nr_running' in 'struct task_group'
                   atomic_long_inc(&task_group(task_of(se))->cfs_nr_running);
                                    ~~~~~~~~~~~~~~~~~~~~~~~  ^
   kernel/sched/fair.c:3595:45: error: no member named 'cfs_nr_running' in 'struct task_group'
                   atomic_long_dec(&task_group(task_of(se))->cfs_nr_running);
                                    ~~~~~~~~~~~~~~~~~~~~~~~  ^
   2 errors generated.


vim +3579 kernel/sched/fair.c

  3568	
  3569	static void
  3570	account_entity_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se)
  3571	{
  3572		update_load_add(&cfs_rq->load, se->load.weight);
  3573	#ifdef CONFIG_SMP
  3574		if (entity_is_task(se)) {
  3575			struct rq *rq = rq_of(cfs_rq);
  3576	
  3577			account_numa_enqueue(rq, task_of(se));
  3578			list_add(&se->group_node, &rq->cfs_tasks);
> 3579			atomic_long_inc(&task_group(task_of(se))->cfs_nr_running);
  3580		}
  3581	#endif
  3582		cfs_rq->nr_running++;
  3583		if (se_is_idle(se))
  3584			cfs_rq->idle_nr_running++;
  3585	}
  3586	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

       reply	other threads:[~2023-12-17  6:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20231215052652.917741-1-imran.f.khan@oracle.com>
2023-12-17  6:10 ` kernel test robot [this message]
2023-12-17  7:14 ` [RFC PATCH] sched: fair: reset task_group.load_avg when there are no running tasks 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=202312171440.Nj64lUjd-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=imran.f.khan@oracle.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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