All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joshua Hahn <joshua.hahnjy@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 6/6] mm/memcontrol: Make memory.high tier-aware
Date: Tue, 24 Feb 2026 14:47:52 +0800	[thread overview]
Message-ID: <202602241456.9NrcMR6n-lkp@intel.com> (raw)
In-Reply-To: <20260223223830.586018-7-joshua.hahnjy@gmail.com>

Hi Joshua,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]

url:    https://github.com/intel-lab-lkp/linux/commits/Joshua-Hahn/mm-page_counter-Introduce-tiered-memory-awareness-to-page_counter/20260224-073845
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20260223223830.586018-7-joshua.hahnjy%40gmail.com
patch subject: [RFC PATCH 6/6] mm/memcontrol: Make memory.high tier-aware
config: i386-buildonly-randconfig-002-20260224 (https://download.01.org/0day-ci/archive/20260224/202602241456.9NrcMR6n-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260224/202602241456.9NrcMR6n-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/202602241456.9NrcMR6n-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/memcontrol.c:2193:23: error: use of undeclared identifier 'tier_aware_memcg_limits'
    2193 |                 toptier_high_ok = !(tier_aware_memcg_limits &&
         |                                     ^
   mm/memcontrol.c:2315:7: error: use of undeclared identifier 'tier_aware_memcg_limits'
    2315 |         if (!tier_aware_memcg_limits)
         |              ^
   mm/memcontrol.c:2640:18: error: use of undeclared identifier 'tier_aware_memcg_limits'
    2640 |                 toptier_high = tier_aware_memcg_limits &&
         |                                ^
   mm/memcontrol.c:4541:28: error: use of undeclared identifier 'tier_aware_memcg_limits'
    4541 |                 bool toptier_high_ok = !(tier_aware_memcg_limits &&
         |                                          ^
   4 errors generated.


vim +/tier_aware_memcg_limits +2193 mm/memcontrol.c

  2178	
  2179	static unsigned long reclaim_high(struct mem_cgroup *memcg,
  2180					  unsigned int nr_pages,
  2181					  gfp_t gfp_mask)
  2182	{
  2183		unsigned long nr_reclaimed = 0;
  2184	
  2185		do {
  2186			unsigned long pflags;
  2187			nodemask_t toptier_nodes, *reclaim_nodes;
  2188			bool mem_high_ok, toptier_high_ok;
  2189	
  2190			mt_get_toptier_nodemask(&toptier_nodes, NULL);
  2191			mem_high_ok = page_counter_read(&memcg->memory) <=
  2192				      READ_ONCE(memcg->memory.high);
> 2193			toptier_high_ok = !(tier_aware_memcg_limits &&
  2194					    mem_cgroup_toptier_usage(memcg) >
  2195					    page_counter_toptier_high(&memcg->memory));
  2196			if (mem_high_ok && toptier_high_ok)
  2197				continue;
  2198	
  2199			if (mem_high_ok && !toptier_high_ok)
  2200				reclaim_nodes = &toptier_nodes;
  2201			else
  2202				reclaim_nodes = NULL;
  2203	
  2204			memcg_memory_event(memcg, MEMCG_HIGH);
  2205	
  2206			psi_memstall_enter(&pflags);
  2207			nr_reclaimed += try_to_free_mem_cgroup_pages(memcg, nr_pages,
  2208								gfp_mask,
  2209								MEMCG_RECLAIM_MAY_SWAP,
  2210								NULL, reclaim_nodes);
  2211			psi_memstall_leave(&pflags);
  2212		} while ((memcg = parent_mem_cgroup(memcg)) &&
  2213			 !mem_cgroup_is_root(memcg));
  2214	
  2215		return nr_reclaimed;
  2216	}
  2217	

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

  reply	other threads:[~2026-02-24  6:48 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 22:38 [RFC PATCH 0/6] mm/memcontrol: Make memcg limits tier-aware Joshua Hahn
2026-02-23 22:38 ` [RFC PATCH 1/6] mm/memory-tiers: Introduce tier-aware memcg limit sysfs Joshua Hahn
2026-02-23 22:38 ` [RFC PATCH 2/6] mm/page_counter: Introduce tiered memory awareness to page_counter Joshua Hahn
2026-02-24  9:25   ` kernel test robot
2026-02-23 22:38 ` [RFC PATCH 3/6] mm/memory-tiers, memcontrol: Introduce toptier capacity updates Joshua Hahn
2026-02-23 22:38 ` [RFC PATCH 4/6] mm/memcontrol: Charge and uncharge from toptier Joshua Hahn
2026-02-23 22:38 ` [RFC PATCH 5/6] mm/memcontrol, page_counter: Make memory.low tier-aware Joshua Hahn
2026-02-24  3:33   ` kernel test robot
2026-02-24  5:36   ` kernel test robot
2026-02-23 22:38 ` [RFC PATCH 6/6] mm/memcontrol: Make memory.high tier-aware Joshua Hahn
2026-02-24  6:47   ` kernel test robot [this message]
2026-03-11 22:05   ` Bing Jiao
2026-03-12 19:44     ` Joshua Hahn
2026-03-24 10:51   ` Donet Tom
2026-03-24 15:23     ` Gregory Price
2026-03-24 15:46       ` Donet Tom
2026-03-24 15:44     ` Joshua Hahn
2026-03-24 16:06       ` Donet Tom
2026-02-24 11:27 ` [RFC PATCH 0/6] mm/memcontrol: Make memcg limits tier-aware Michal Hocko
2026-02-24 16:13   ` Joshua Hahn
2026-02-24 18:49     ` Gregory Price
2026-02-24 20:03       ` Kaiyang Zhao
2026-02-26  8:04     ` Michal Hocko
2026-02-26 16:08       ` Joshua Hahn
2026-03-24 10:30 ` Donet Tom
2026-03-24 14:58   ` Joshua Hahn

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=202602241456.9NrcMR6n-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=joshua.hahnjy@gmail.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.