Re: [PATCH v4 24/31] mm: memcontrol: prepare for reparenting LRU pages for lruvec lock

From: kernel test robot

Date: Thu Feb 05 2026 - 10:04:56 EST


Hi Qi,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20260204]
[cannot apply to akpm-mm/mm-everything brauner-vfs/vfs.all trace/for-next tj-cgroup/for-next linus/master dennis-percpu/for-next v6.19-rc8 v6.19-rc7 v6.19-rc6 v6.19-rc8]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Qi-Zheng/mm-memcontrol-remove-dead-code-of-checking-parent-memory-cgroup/20260205-170812
base: next-20260204
patch link: https://lore.kernel.org/r/e27edb311dda624751cb41860237f290de8c16ae.1770279888.git.zhengqi.arch%40bytedance.com
patch subject: [PATCH v4 24/31] mm: memcontrol: prepare for reparenting LRU pages for lruvec lock
config: xtensa-allnoconfig (https://download.01.org/0day-ci/archive/20260205/202602052247.VAoEwR9g-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260205/202602052247.VAoEwR9g-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602052247.VAoEwR9g-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> xtensa-linux-ld: mm/swap.o:(.text+0x40): undefined reference to `lruvec_unlock_irqrestore'
xtensa-linux-ld: mm/swap.o: in function `__page_cache_release.part.0':
swap.c:(.text+0x60): undefined reference to `lruvec_unlock_irqrestore'
xtensa-linux-ld: mm/swap.o: in function `__folio_put':
swap.c:(.text+0x1a6): undefined reference to `lruvec_unlock_irqrestore'
xtensa-linux-ld: mm/swap.o: in function `folios_put_refs':
swap.c:(.text+0x276): undefined reference to `lruvec_unlock_irqrestore'
xtensa-linux-ld: mm/swap.o: in function `folio_batch_move_lru':
swap.c:(.text+0x31a): undefined reference to `lruvec_unlock_irqrestore'
xtensa-linux-ld: mm/swap.o:swap.c:(.text+0x354): more undefined references to `lruvec_unlock_irqrestore' follow
xtensa-linux-ld: mm/swap.o: in function `lru_note_cost_refault':
swap.c:(.text+0x1340): undefined reference to `lruvec_unlock_irq'
xtensa-linux-ld: mm/swap.o: in function `folio_activate':
swap.c:(.text+0x136c): undefined reference to `lruvec_unlock_irq'
xtensa-linux-ld: mm/vmscan.o: in function `check_move_unevictable_folios':
vmscan.c:(.text+0x762): undefined reference to `lruvec_unlock_irq'
>> xtensa-linux-ld: vmscan.c:(.text+0x972): undefined reference to `lruvec_unlock_irq'
xtensa-linux-ld: mm/vmscan.o: in function `move_folios_to_lru':
vmscan.c:(.text+0xa22): undefined reference to `lruvec_unlock_irq'
xtensa-linux-ld: mm/vmscan.o:vmscan.c:(.text+0xa58): more undefined references to `lruvec_unlock_irq' follow
xtensa-linux-ld: mm/vmscan.o: in function `move_folios_to_lru':
vmscan.c:(.text+0xc40): undefined reference to `lruvec_lock_irq'
xtensa-linux-ld: mm/vmscan.o: in function `shrink_active_list':
vmscan.c:(.text+0xc9b): undefined reference to `lruvec_lock_irq'
xtensa-linux-ld: vmscan.c:(.text+0xcfc): undefined reference to `lruvec_unlock_irq'
>> xtensa-linux-ld: vmscan.c:(.text+0xe39): undefined reference to `lruvec_lock_irq'
xtensa-linux-ld: mm/vmscan.o: in function `shrink_inactive_list':
vmscan.c:(.text+0x1d32): undefined reference to `lruvec_lock_irq'
xtensa-linux-ld: vmscan.c:(.text+0x1e46): undefined reference to `lruvec_unlock_irq'
xtensa-linux-ld: vmscan.c:(.text+0x1f3a): undefined reference to `lruvec_lock_irq'
xtensa-linux-ld: mm/vmscan.o: in function `folio_isolate_lru':
vmscan.c:(.text+0x2eb4): undefined reference to `lruvec_unlock_irq'
xtensa-linux-ld: mm/mlock.o: in function `__munlock_folio':
mlock.c:(.text+0x5cc): undefined reference to `lruvec_unlock_irq'
xtensa-linux-ld: mm/mlock.o: in function `__mlock_folio':
mlock.c:(.text+0x8b3): undefined reference to `lruvec_unlock_irq'
xtensa-linux-ld: mm/mlock.o: in function `mlock_folio_batch.constprop.0':
mlock.c:(.text+0xd15): undefined reference to `lruvec_unlock_irq'
>> xtensa-linux-ld: mlock.c:(.text+0xe70): undefined reference to `lruvec_unlock_irq'

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