[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202410302318.EbfnSdKM-lkp@intel.com>
Date: Wed, 30 Oct 2024 23:54:25 +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: 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: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20241030/202410302318.EbfnSdKM-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241030/202410302318.EbfnSdKM-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/202410302318.EbfnSdKM-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_policy.c:60:
kernel/sched/deadline.c: In function 'dl_server_start':
>> kernel/sched/deadline.c:1631:47: error: 'struct rq' has no member named 'rd'; did you mean 'rt'?
1631 | struct root_domain *rd = cpu_rq(cpu)->rd;
| ^~
| rt
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