tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 4552257bd9515ad6f78bd3691c7379beb42dc3cd commit: 43bbefc53356009d3603faa2c6e6a2858f724e4d [3278/3278] xsched: Add XCU control group implementation and its backend in xsched CFS config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20251119/202511191801.j34oMzNw-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 0bba1e76581bad04e7d7f09f5115ae5e2989e0d9) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251119/202511191801.j34oMzNw-lkp@i...) 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/202511191801.j34oMzNw-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from kernel/xsched/vstream.c:23:
include/linux/xsched.h:265:29: error: field has incomplete type 'struct cgroup_subsys_state' 265 | struct cgroup_subsys_state css; | ^ include/linux/kthread.h:219:8: note: forward declaration of 'struct cgroup_subsys_state' 219 | struct cgroup_subsys_state; | ^ 1 error generated.
vim +265 include/linux/xsched.h 261 262 /* Xsched scheduling control group */ 263 struct xsched_group { 264 /* Cgroups controller structure */
265 struct cgroup_subsys_state css; 266 267 /* Control group settings: */ 268 int sched_class; 269 int prio; 270 271 /* Bandwidth setting: shares value set by user */ 272 u64 shares_cfg; 273 u64 shares_cfg_red; 274 u32 weight; 275 u64 children_shares_sum; 276 277 struct xsched_group_xcu_priv perxcu_priv[XSCHED_NR_CUS]; 278 279 /* Groups hierarchcy */ 280 struct xsched_group *parent; 281 struct list_head children_groups; 282 struct list_head group_node; 283 284 spinlock_t lock; 285 286 /* for XSE to move in perxcu */ 287 struct list_head members; 288 }; 289
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki