All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: steven@liquorix.net
Cc: oe-kbuild-all@lists.linux.dev
Subject: [zen:7.2/prjc 648/767] kernel/sched/alt_core.c:1979:19: warning: stack frame size (2104) exceeds limit (2048) in 'select_task_rq'
Date: Thu, 03 Sep 2026 14:00:00 +0200	[thread overview]
Message-ID: <202609031352.hqUoMi0K-lkp@intel.com> (raw)

tree:   https://github.com/zen-kernel/zen-kernel 7.2/prjc
head:   b93a6c25160bf4f198c279466dfabfb399f5d973
commit: ca8e0fde64fcfaf8691f1aa16d875770a5896ca5 [648/767] sched/alt: [Sync] dcb7416212e6 block: invalidate cached plug timestamp after task switch
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20260903/202609031352.hqUoMi0K-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260903/202609031352.hqUoMi0K-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/202609031352.hqUoMi0K-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/sched/alt_core.c:1979:19: warning: stack frame size (2104) exceeds limit (2048) in 'select_task_rq' [-Wframe-larger-than]
    1979 | static inline int select_task_rq(struct task_struct *p)
         |                   ^
>> kernel/sched/alt_core.c:4450:20: warning: stack frame size (2224) exceeds limit (2048) in 'prio_balance' [-Wframe-larger-than]
    4450 | static inline void prio_balance(struct rq *rq, const int cpu)
         |                    ^
   2 warnings generated.


vim +/select_task_rq +1979 kernel/sched/alt_core.c

d61ec5fb1be3213 Alfred Chen 2024-04-24  1978  
ff5c45dfa194c44 Alfred Chen 2021-05-24 @1979  static inline int select_task_rq(struct task_struct *p)
2f7ec82370cbb70 Alfred Chen 2019-08-19  1980  {
ca82bd6ba136130 Alfred Chen 2022-12-21  1981  	cpumask_t allow_mask, mask;
2f7ec82370cbb70 Alfred Chen 2019-08-19  1982  
ca82bd6ba136130 Alfred Chen 2022-12-21  1983  	if (unlikely(!cpumask_and(&allow_mask, p->cpus_ptr, cpu_active_mask)))
2f7ec82370cbb70 Alfred Chen 2019-08-19  1984  		return select_fallback_rq(task_cpu(p), p);
2f7ec82370cbb70 Alfred Chen 2019-08-19  1985  
1cb8e7e744b4a93 Alfred Chen 2025-08-28  1986  	if (static_call(sched_idle_select_func)(&mask, &allow_mask, sched_idle_mask)	||
081f001d0ed9543 Alfred Chen 2024-01-31  1987  	    preempt_mask_check(&mask, &allow_mask, task_sched_prio(p)))
ca82bd6ba136130 Alfred Chen 2022-12-21  1988  		return best_mask_cpu(task_cpu(p), &mask);
2f7ec82370cbb70 Alfred Chen 2019-08-19  1989  
ca82bd6ba136130 Alfred Chen 2022-12-21  1990  	return best_mask_cpu(task_cpu(p), &allow_mask);
2f7ec82370cbb70 Alfred Chen 2019-08-19  1991  }
2f7ec82370cbb70 Alfred Chen 2019-08-19  1992  

:::::: The code at line 1979 was first introduced by commit
:::::: ff5c45dfa194c44ec3b146644154ca07a35eef2a sched/pds: Fix unexpected larger delta in task_sched_prio_normal()

:::::: TO: Alfred Chen <cchalpha@gmail.com>
:::::: CC: Alfred Chen <cchalpha@gmail.com>

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

                 reply	other threads:[~2026-09-03 12:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202609031352.hqUoMi0K-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=steven@liquorix.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.