From: kernel test robot <lkp@intel.com>
To: Aaron Lu <ziqianlu@bytedance.com>,
Valentin Schneider <vschneid@redhat.com>,
Ben Segall <bsegall@google.com>,
K Prateek Nayak <kprateek.nayak@amd.com>,
Peter Zijlstra <peterz@infradead.org>,
Chengming Zhou <chengming.zhou@linux.dev>,
Josh Don <joshdon@google.com>, Ingo Molnar <mingo@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Xi Wang <xii@google.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Juri Lelli <juri.lelli@redhat.com>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Mel Gorman <mgorman@suse.de>,
Chuyi Zhou <zhouchuyi@bytedance.com>,
Jan Kiszka <jan.kiszka@siemens.com>,
Florian Bezdeka <florian.bezdeka@siemens.com>,
Songtang Liu <liusongtang@bytedance.com>
Subject: Re: [PATCH v3 3/5] sched/fair: Switch to task based throttle model
Date: Wed, 16 Jul 2025 23:20:55 +0800 [thread overview]
Message-ID: <202507162238.qiw7kyu0-lkp@intel.com> (raw)
In-Reply-To: <20250715071658.267-4-ziqianlu@bytedance.com>
Hi Aaron,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tip/sched/core]
[also build test WARNING on next-20250716]
[cannot apply to linus/master v6.16-rc6]
[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/Aaron-Lu/sched-fair-Add-related-data-structure-for-task-based-throttle/20250715-152307
base: tip/sched/core
patch link: https://lore.kernel.org/r/20250715071658.267-4-ziqianlu%40bytedance.com
patch subject: [PATCH v3 3/5] sched/fair: Switch to task based throttle model
config: xtensa-randconfig-r121-20250716 (https://download.01.org/0day-ci/archive/20250716/202507162238.qiw7kyu0-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 8.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250716/202507162238.qiw7kyu0-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/202507162238.qiw7kyu0-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
kernel/sched/core.c: note: in included file (through arch/xtensa/include/asm/bitops.h, include/linux/bitops.h, include/linux/thread_info.h, ...):
arch/xtensa/include/asm/processor.h:105:2: sparse: sparse: Unsupported xtensa ABI
arch/xtensa/include/asm/processor.h:135:2: sparse: sparse: Unsupported Xtensa ABI
kernel/sched/core.c: note: in included file:
>> kernel/sched/sched.h:741:44: sparse: sparse: dubious one-bit signed bitfield
kernel/sched/sched.h:742:55: sparse: sparse: dubious one-bit signed bitfield
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2429:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2429:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2429:9: sparse: struct task_struct *
kernel/sched/core.c:2131:38: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/core.c:2131:38: sparse: struct task_struct [noderef] __rcu *
kernel/sched/core.c:2131:38: sparse: struct task_struct const *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2452:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2452:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2452:9: sparse: struct task_struct *
kernel/sched/sched.h:2452:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2452:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2452:9: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2429:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2429:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2429:9: sparse: struct task_struct *
--
kernel/sched/fair.c: note: in included file (through arch/xtensa/include/asm/bitops.h, include/linux/bitops.h, include/linux/kernel.h, ...):
arch/xtensa/include/asm/processor.h:105:2: sparse: sparse: Unsupported xtensa ABI
arch/xtensa/include/asm/processor.h:135:2: sparse: sparse: Unsupported Xtensa ABI
kernel/sched/fair.c: note: in included file:
>> kernel/sched/sched.h:741:44: sparse: sparse: dubious one-bit signed bitfield
kernel/sched/sched.h:742:55: sparse: sparse: dubious one-bit signed bitfield
kernel/sched/fair.c:6073:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/fair.c:6073:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/fair.c:6073:22: sparse: struct task_struct *
kernel/sched/fair.c:10625:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/fair.c:10625:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/fair.c:10625:22: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2452:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2452:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2452:9: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
--
kernel/sched/build_policy.c: note: in included file (through arch/xtensa/include/asm/bitops.h, include/linux/bitops.h, include/linux/kernel.h, ...):
arch/xtensa/include/asm/processor.h:105:2: sparse: sparse: Unsupported xtensa ABI
arch/xtensa/include/asm/processor.h:135:2: sparse: sparse: Unsupported Xtensa ABI
kernel/sched/build_policy.c: note: in included file:
>> kernel/sched/sched.h:741:44: sparse: sparse: dubious one-bit signed bitfield
kernel/sched/sched.h:742:55: sparse: sparse: dubious one-bit signed bitfield
kernel/sched/build_policy.c: note: in included file:
kernel/sched/rt.c:2289:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/rt.c:2289:25: sparse: struct task_struct *
kernel/sched/rt.c:2289:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/rt.c:1994:13: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/rt.c:1994:13: sparse: struct task_struct *
kernel/sched/rt.c:1994:13: sparse: struct task_struct [noderef] __rcu *
kernel/sched/build_policy.c: note: in included file:
kernel/sched/deadline.c:2675:13: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/deadline.c:2675:13: sparse: struct task_struct *
kernel/sched/deadline.c:2675:13: sparse: struct task_struct [noderef] __rcu *
kernel/sched/deadline.c:2781:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/deadline.c:2781:25: sparse: struct task_struct *
kernel/sched/deadline.c:2781:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/deadline.c:3024:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/deadline.c:3024:23: sparse: struct task_struct [noderef] __rcu *
kernel/sched/deadline.c:3024:23: sparse: struct task_struct *
kernel/sched/build_policy.c: note: in included file:
kernel/sched/syscalls.c:206:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/syscalls.c:206:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/syscalls.c:206:22: sparse: struct task_struct *
kernel/sched/build_policy.c: note: in included file:
kernel/sched/sched.h:2241:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2241:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2241:25: sparse: struct task_struct *
kernel/sched/sched.h:2241:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2241:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2241:25: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2241:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2241:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2241:25: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2241:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2241:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2241:25: sparse: struct task_struct *
kernel/sched/sched.h:2241:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2241:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2241:25: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2429:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2429:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2429:9: sparse: struct task_struct *
kernel/sched/sched.h:2252:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2252:26: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2252:26: sparse: struct task_struct *
kernel/sched/sched.h:2429:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2429:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2429:9: sparse: struct task_struct *
--
kernel/sched/build_utility.c: note: in included file (through arch/xtensa/include/asm/bitops.h, include/linux/bitops.h, include/linux/kernel.h, ...):
arch/xtensa/include/asm/processor.h:105:2: sparse: sparse: Unsupported xtensa ABI
arch/xtensa/include/asm/processor.h:135:2: sparse: sparse: Unsupported Xtensa ABI
kernel/sched/build_utility.c: note: in included file:
>> kernel/sched/sched.h:741:44: sparse: sparse: dubious one-bit signed bitfield
kernel/sched/sched.h:742:55: sparse: sparse: dubious one-bit signed bitfield
kernel/sched/sched.h:2241:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2241:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2241:25: sparse: struct task_struct *
vim +741 kernel/sched/sched.h
709
710 #ifdef CONFIG_FAIR_GROUP_SCHED
711 struct rq *rq; /* CPU runqueue to which this cfs_rq is attached */
712
713 /*
714 * leaf cfs_rqs are those that hold tasks (lowest schedulable entity in
715 * a hierarchy). Non-leaf lrqs hold other higher schedulable entities
716 * (like users, containers etc.)
717 *
718 * leaf_cfs_rq_list ties together list of leaf cfs_rq's in a CPU.
719 * This list is used during load balance.
720 */
721 int on_list;
722 struct list_head leaf_cfs_rq_list;
723 struct task_group *tg; /* group that "owns" this runqueue */
724
725 /* Locally cached copy of our task_group's idle value */
726 int idle;
727
728 #ifdef CONFIG_CFS_BANDWIDTH
729 int runtime_enabled;
730 s64 runtime_remaining;
731
732 u64 throttled_pelt_idle;
733 #ifndef CONFIG_64BIT
734 u64 throttled_pelt_idle_copy;
735 #endif
736 u64 throttled_clock;
737 u64 throttled_clock_pelt;
738 u64 throttled_clock_pelt_time;
739 u64 throttled_clock_self;
740 u64 throttled_clock_self_time;
> 741 int throttled:1;
742 int pelt_clock_throttled:1;
743 int throttle_count;
744 struct list_head throttled_list;
745 struct list_head throttled_csd_list;
746 struct list_head throttled_limbo_list;
747 #endif /* CONFIG_CFS_BANDWIDTH */
748 #endif /* CONFIG_FAIR_GROUP_SCHED */
749 };
750
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-07-16 15:21 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-15 7:16 [PATCH v3 0/5] Defer throttle when task exits to user Aaron Lu
2025-07-15 7:16 ` [PATCH v3 1/5] sched/fair: Add related data structure for task based throttle Aaron Lu
2025-07-15 7:16 ` [PATCH v3 2/5] sched/fair: Implement throttle task work and related helpers Aaron Lu
2025-07-15 7:16 ` [PATCH v3 3/5] sched/fair: Switch to task based throttle model Aaron Lu
2025-07-15 23:29 ` kernel test robot
2025-07-16 6:57 ` Aaron Lu
2025-07-16 7:40 ` Philip Li
2025-07-16 11:15 ` [PATCH v3 update " Aaron Lu
2025-07-16 11:27 ` [PATCH v3 " Peter Zijlstra
2025-07-16 15:20 ` kernel test robot [this message]
2025-07-17 3:52 ` Aaron Lu
2025-07-23 8:21 ` Oliver Sang
2025-07-23 10:08 ` Aaron Lu
2025-08-08 9:12 ` Valentin Schneider
2025-08-08 10:13 ` Aaron Lu
2025-08-08 11:45 ` Valentin Schneider
2025-08-12 8:48 ` Aaron Lu
2025-08-14 15:54 ` Valentin Schneider
2025-08-15 9:30 ` Aaron Lu
2025-08-22 11:07 ` Aaron Lu
2025-09-03 7:14 ` Aaron Lu
2025-09-03 9:11 ` K Prateek Nayak
2025-09-03 10:11 ` Aaron Lu
2025-09-03 10:31 ` K Prateek Nayak
2025-09-03 11:35 ` Aaron Lu
2025-09-04 7:33 ` Bezdeka, Florian
2025-09-04 8:26 ` K Prateek Nayak
2025-09-04 8:40 ` Aaron Lu
2025-08-28 3:50 ` Aaron Lu
2025-08-17 8:50 ` Chen, Yu C
2025-08-18 2:50 ` Aaron Lu
2025-08-18 3:10 ` Chen, Yu C
2025-08-18 3:12 ` Aaron Lu
2025-07-15 7:16 ` [PATCH v3 4/5] sched/fair: Task based throttle time accounting Aaron Lu
2025-08-18 14:57 ` Valentin Schneider
2025-08-19 9:34 ` Aaron Lu
2025-08-19 14:09 ` Valentin Schneider
2025-08-26 14:10 ` Michal Koutný
2025-08-27 15:16 ` Valentin Schneider
2025-08-28 6:06 ` Aaron Lu
2025-08-26 9:15 ` Aaron Lu
2025-07-15 7:16 ` [PATCH v3 5/5] sched/fair: Get rid of throttled_lb_pair() Aaron Lu
2025-07-15 7:22 ` [PATCH v3 0/5] Defer throttle when task exits to user Aaron Lu
2025-08-01 14:31 ` Matteo Martelli
2025-08-04 7:52 ` Aaron Lu
2025-08-04 11:18 ` Valentin Schneider
2025-08-04 11:56 ` Aaron Lu
2025-08-08 16:37 ` Matteo Martelli
2025-08-04 8:51 ` K Prateek Nayak
2025-08-04 11:48 ` Aaron Lu
2025-08-27 14:58 ` Valentin Schneider
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=202507162238.qiw7kyu0-lkp@intel.com \
--to=lkp@intel.com \
--cc=bsegall@google.com \
--cc=chengming.zhou@linux.dev \
--cc=dietmar.eggemann@arm.com \
--cc=florian.bezdeka@siemens.com \
--cc=jan.kiszka@siemens.com \
--cc=joshdon@google.com \
--cc=juri.lelli@redhat.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liusongtang@bytedance.com \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
--cc=xii@google.com \
--cc=zhouchuyi@bytedance.com \
--cc=ziqianlu@bytedance.com \
/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
all inboxes | Powered by JetHome®