[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202410310046.qSHsY4dH-lkp@intel.com>
Date: Thu, 31 Oct 2024 01:06:10 +0800
From: kernel test robot <lkp@...el.com>
To: "Joel Fernandes (Google)" <joel@...lfernandes.org>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Valentin Schneider <vschneid@...hat.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
"Joel Fernandes (Google)" <joel@...lfernandes.org>,
Suleiman Souhlal <suleiman@...gle.com>,
Aashish Sharma <shraash@...gle.com>,
Shin Kawamura <kawasin@...gle.com>,
Vineeth Remanan Pillai <vineeth@...byteword.org>
Subject: Re: [PATCH] dl_server: Reset DL server params when rd changes
Hi Joel,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/sched/core]
[also build test ERROR on linus/master v6.12-rc5 next-20241030]
[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/Joel-Fernandes-Google/dl_server-Reset-DL-server-params-when-rd-changes/20241030-065241
base: tip/sched/core
patch link: https://lore.kernel.org/r/20241029225116.3998487-1-joel%40joelfernandes.org
patch subject: [PATCH] dl_server: Reset DL server params when rd changes
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20241031/202410310046.qSHsY4dH-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 639a7ac648f1e50ccd2556e17d401c04f9cce625)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241031/202410310046.qSHsY4dH-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410310046.qSHsY4dH-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_policy.c:19:
In file included from include/linux/sched/isolation.h:5:
In file included from include/linux/cpuset.h:17:
In file included from include/linux/mm.h:2213:
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
In file included from kernel/sched/build_policy.c:60:
>> kernel/sched/deadline.c:1631:40: error: no member named 'rd' in 'struct rq'
1631 | struct root_domain *rd = cpu_rq(cpu)->rd;
| ~~~~~~~~~~~ ^
1 warning and 1 error generated.
vim +1631 kernel/sched/deadline.c
1626
1627 void dl_server_start(struct sched_dl_entity *dl_se)
1628 {
1629 struct rq *rq = dl_se->rq;
1630 int cpu = cpu_of(rq);
> 1631 struct root_domain *rd = cpu_rq(cpu)->rd;
1632
1633 /*
1634 * XXX: the apply do not work fine at the init phase for the
1635 * fair server because things are not yet set. We need to improve
1636 * this before getting generic.
1637 */
1638 if (!dl_server(dl_se) || dl_se->last_rd != rd) {
1639 u64 runtime = 50 * NSEC_PER_MSEC;
1640 u64 period = 1000 * NSEC_PER_MSEC;
1641
1642 dl_se->last_rd = rd;
1643 dl_server_apply_params(dl_se, runtime, period, 1);
1644
1645 if (!dl_server(dl_se)) {
1646 dl_se->dl_server = 1;
1647 dl_se->dl_defer = 1;
1648 setup_new_dl_entity(dl_se);
1649 }
1650 }
1651
1652 if (!dl_se->dl_runtime)
1653 return;
1654
1655 enqueue_dl_entity(dl_se, ENQUEUE_WAKEUP);
1656 if (!dl_task(dl_se->rq->curr) || dl_entity_preempt(dl_se, &rq->curr->dl))
1657 resched_curr(dl_se->rq);
1658 }
1659
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists