* mm/percpu.c:1748:1: warning: the frame size of 4304 bytes is larger than 2048 bytes
@ 2026-08-18 7:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-18 7:38 UTC (permalink / raw)
To: Alexandre Ghiti; +Cc: oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/Alexandre-Ghiti/memcg-convert-task-objcg-to-a-per-node-objcgs-array/20260814-105220
head: 312c5531b4eccad1d6df5498a3f86bf6a3591348
commit: ece9a1822c4d19986136c28bef371b63ab7acd75 mm: percpu: per-node kmem accounting
date: 4 days ago
config: x86_64-rhel-9.4-bpf (https://download.01.org/0day-ci/archive/20260818/202608180909.rbuXZ2uR-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260818/202608180909.rbuXZ2uR-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/202608180909.rbuXZ2uR-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/percpu.c: In function 'pcpu_memcg_free_hook':
>> mm/percpu.c:1748:1: warning: the frame size of 4304 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1748 | }
| ^
mm/percpu.c: In function 'pcpu_memcg_post_alloc_hook.part.0':
mm/percpu.c:1717:1: warning: the frame size of 4336 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1717 | }
| ^
vim +1748 mm/percpu.c
3c7be18ac9a06b Roman Gushchin 2020-08-11 1718
3c7be18ac9a06b Roman Gushchin 2020-08-11 1719 static void pcpu_memcg_free_hook(struct pcpu_chunk *chunk, int off, size_t size)
3c7be18ac9a06b Roman Gushchin 2020-08-11 1720 {
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1721 unsigned int node_bytes[MAX_NUMNODES] = { 0 };
3c7be18ac9a06b Roman Gushchin 2020-08-11 1722 struct obj_cgroup *objcg;
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1723 int nid;
3c7be18ac9a06b Roman Gushchin 2020-08-11 1724
8f30d2660a38be Kent Overstreet 2024-03-21 1725 if (unlikely(!chunk->obj_exts))
3c7be18ac9a06b Roman Gushchin 2020-08-11 1726 return;
3c7be18ac9a06b Roman Gushchin 2020-08-11 1727
8f30d2660a38be Kent Overstreet 2024-03-21 1728 objcg = chunk->obj_exts[off >> PCPU_MIN_ALLOC_SHIFT].cgroup;
faf65dde844aff Roman Gushchin 2021-06-02 1729 if (!objcg)
faf65dde844aff Roman Gushchin 2021-06-02 1730 return;
8f30d2660a38be Kent Overstreet 2024-03-21 1731 chunk->obj_exts[off >> PCPU_MIN_ALLOC_SHIFT].cgroup = NULL;
3c7be18ac9a06b Roman Gushchin 2020-08-11 1732
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1733 pcpu_memcg_accumulate_pages(chunk, off, size, node_bytes);
3c7be18ac9a06b Roman Gushchin 2020-08-11 1734
772616b031f06e Roman Gushchin 2020-08-11 1735 rcu_read_lock();
772616b031f06e Roman Gushchin 2020-08-11 1736 mod_memcg_state(obj_cgroup_memcg(objcg), MEMCG_PERCPU_B,
8c57c07741bf28 Qi Zheng 2022-01-14 1737 -pcpu_obj_full_size(size));
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1738
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1739 /* Uncharge each node the exact bytes it was charged at alloc. */
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1740 for_each_online_node(nid) {
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1741 if (node_bytes[nid])
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1742 obj_cgroup_uncharge(obj_cgroup_nid(objcg, nid),
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1743 node_bytes[nid]);
ece9a1822c4d19 Alexandre Ghiti 2026-06-26 1744 }
772616b031f06e Roman Gushchin 2020-08-11 1745 rcu_read_unlock();
772616b031f06e Roman Gushchin 2020-08-11 1746
3c7be18ac9a06b Roman Gushchin 2020-08-11 1747 obj_cgroup_put(objcg);
3c7be18ac9a06b Roman Gushchin 2020-08-11 @1748 }
3c7be18ac9a06b Roman Gushchin 2020-08-11 1749
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 7:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 7:38 mm/percpu.c:1748:1: warning: the frame size of 4304 bytes is larger than 2048 bytes kernel test robot
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.