* [ljs:project/cow-context 17/18] mm/page_idle.c:105:16: error: use of undeclared identifier 'folio_lock_anon_vma_read'
@ 2026-05-07 9:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-07 9:28 UTC (permalink / raw)
To: Lorenzo Stoakes; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ljs/linux.git project/cow-context
head: e02aa02fef8128743869032cb20d26f752cd9154
commit: d91a1a12c5871a70ef97dc4725f0ca758f210524 [17/18] HACK, tbh: mm: add pure CoW context mode
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260507/202605071744.yAZ3Fsvu-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260507/202605071744.yAZ3Fsvu-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/202605071744.yAZ3Fsvu-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/page_idle.c:105:16: error: use of undeclared identifier 'folio_lock_anon_vma_read'
105 | .anon_lock = folio_lock_anon_vma_read,
| ^
1 error generated.
--
>> mm/damon/ops-common.c:175:16: error: use of undeclared identifier 'folio_lock_anon_vma_read'
175 | .anon_lock = folio_lock_anon_vma_read,
| ^
mm/damon/ops-common.c:239:16: error: use of undeclared identifier 'folio_lock_anon_vma_read'
239 | .anon_lock = folio_lock_anon_vma_read,
| ^
2 errors generated.
vim +/folio_lock_anon_vma_read +105 mm/page_idle.c
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 96
5acc17fd35e627 Kefeng Wang 2022-12-30 97 static void page_idle_clear_pte_refs(struct folio *folio)
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 98 {
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 99 /*
6d4675e6013578 Minchan Kim 2022-05-19 100 * Since rwc.try_lock is unused, rwc is effectively immutable, so we
6d4675e6013578 Minchan Kim 2022-05-19 101 * can make it static to save some cycles and stack.
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 102 */
6d4675e6013578 Minchan Kim 2022-05-19 103 static struct rmap_walk_control rwc = {
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 104 .rmap_one = page_idle_clear_pte_refs_one,
2f031c6f042cb8 Matthew Wilcox (Oracle 2022-01-29 @105) .anon_lock = folio_lock_anon_vma_read,
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 106 };
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 107
4aed23a2f8aaaa Matthew Wilcox (Oracle 2022-01-29 108) if (!folio_mapped(folio) || !folio_raw_mapping(folio))
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 109 return;
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 110
95b34d66480bbc Lokesh Gidra 2025-09-23 111 if (!folio_trylock(folio))
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 112 return;
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 113
84fbbe21894bb9 Matthew Wilcox (Oracle 2022-01-29 114) rmap_walk(folio, &rwc);
4aed23a2f8aaaa Matthew Wilcox (Oracle 2022-01-29 115) folio_unlock(folio);
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 116 }
33c3fc71c8cfa3 Vladimir Davydov 2015-09-09 117
:::::: The code at line 105 was first introduced by commit
:::::: 2f031c6f042cb8a9b221a8b6b80e69de5170f830 mm/rmap: Convert rmap_walk() to take a folio
:::::: TO: Matthew Wilcox (Oracle) <willy@infradead.org>
:::::: CC: Matthew Wilcox (Oracle) <willy@infradead.org>
--
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-05-07 9:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07 9:28 [ljs:project/cow-context 17/18] mm/page_idle.c:105:16: error: use of undeclared identifier 'folio_lock_anon_vma_read' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox