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: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 5/6] mm/memcontrol, page_counter: Make memory.low tier-aware
Date: Tue, 24 Feb 2026 11:33:44 +0800	[thread overview]
Message-ID: <202602241138.vaT8Mo2z-lkp@intel.com> (raw)
In-Reply-To: <20260223223830.586018-6-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-6-joshua.hahnjy%40gmail.com
patch subject: [RFC PATCH 5/6] mm/memcontrol, page_counter: Make memory.low tier-aware
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260224/202602241138.vaT8Mo2z-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260224/202602241138.vaT8Mo2z-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/202602241138.vaT8Mo2z-lkp@intel.com/

All errors (new ones prefixed by >>):

   mm/vmscan.c: In function 'shrink_one':
>> mm/vmscan.c:4909:24: error: 'tier_aware_memcg_limits' undeclared (first use in this function)
    4909 |         bool toptier = tier_aware_memcg_limits &&
         |                        ^~~~~~~~~~~~~~~~~~~~~~~
   mm/vmscan.c:4909:24: note: each undeclared identifier is reported only once for each function it appears in
   mm/vmscan.c: In function 'shrink_node_memcgs':
   mm/vmscan.c:6003:41: error: 'tier_aware_memcg_limits' undeclared (first use in this function)
    6003 |                                         tier_aware_memcg_limits && toptier)) {
         |                                         ^~~~~~~~~~~~~~~~~~~~~~~


vim +/tier_aware_memcg_limits +4909 mm/vmscan.c

  4901	
  4902	static int shrink_one(struct lruvec *lruvec, struct scan_control *sc)
  4903	{
  4904		bool success;
  4905		unsigned long scanned = sc->nr_scanned;
  4906		unsigned long reclaimed = sc->nr_reclaimed;
  4907		struct mem_cgroup *memcg = lruvec_memcg(lruvec);
  4908		struct pglist_data *pgdat = lruvec_pgdat(lruvec);
> 4909		bool toptier = tier_aware_memcg_limits &&
  4910			       node_is_toptier(pgdat->node_id);
  4911	
  4912		/* lru_gen_age_node() called mem_cgroup_calculate_protection() */
  4913		if (mem_cgroup_below_min(NULL, memcg))
  4914			return MEMCG_LRU_YOUNG;
  4915	
  4916		if (mem_cgroup_below_low(NULL, memcg, toptier)) {
  4917			/* see the comment on MEMCG_NR_GENS */
  4918			if (READ_ONCE(lruvec->lrugen.seg) != MEMCG_LRU_TAIL)
  4919				return MEMCG_LRU_TAIL;
  4920	
  4921			memcg_memory_event(memcg, MEMCG_LOW);
  4922		}
  4923	
  4924		success = try_to_shrink_lruvec(lruvec, sc);
  4925	
  4926		shrink_slab(sc->gfp_mask, pgdat->node_id, memcg, sc->priority);
  4927	
  4928		if (!sc->proactive)
  4929			vmpressure(sc->gfp_mask, memcg, false, sc->nr_scanned - scanned,
  4930				   sc->nr_reclaimed - reclaimed);
  4931	
  4932		flush_reclaim_state(sc);
  4933	
  4934		if (success && mem_cgroup_online(memcg))
  4935			return MEMCG_LRU_YOUNG;
  4936	
  4937		if (!success && lruvec_is_sizable(lruvec, sc))
  4938			return 0;
  4939	
  4940		/* one retry if offlined or too small */
  4941		return READ_ONCE(lruvec->lrugen.seg) != MEMCG_LRU_TAIL ?
  4942		       MEMCG_LRU_TAIL : MEMCG_LRU_YOUNG;
  4943	}
  4944	

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

  reply	other threads:[~2026-02-24  3:33 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 [this message]
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
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=202602241138.vaT8Mo2z-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=joshua.hahnjy@gmail.com \
    --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.