From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [android-common:android15-6.6-2026-07 2/2] include/linux/mm.h:1298:undefined reference to `folio_total_mapcount'
Date: Wed, 18 Nov 2026 19:40:43 +0100 [thread overview]
Message-ID: <20261118193753.4VX3DIBB-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "too many reports for this commit"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com
tree: https://android.googlesource.com/kernel/common android15-6.6-2026-07
head: f5ef82ff5548236b904840f35358d8a81ecd3bbd
commit: 093bce68a3d77381073cf569c91da0c78a0fa8c6 [2/2] BACKPORT: mm: vmscan: put rotation-missed folios at the LRU tail
:::::: branch date: 9 hours ago
:::::: commit date: 9 days ago
config: arm-randconfig-2000-20261118 (https://download.01.org/0day-ci/archive/20261118/20261118193753.4VX3DIBB-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261118/20261118193753.4VX3DIBB-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/r/20261118193753.4VX3DIBB-lkp@intel.com/
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: mm/vmscan.o: in function `folio_mapcount':
>> include/linux/mm.h:1298:(.text+0x21dc): undefined reference to `folio_total_mapcount'
arm-linux-gnueabi-ld: (folio_total_mapcount): Unknown destination type (ARM/Thumb) in mm/vmscan.o
>> include/linux/mm.h:1298:(.text+0x21dc): dangerous relocation: unsupported relocation
vim +1298 include/linux/mm.h
4ba1119cd53166d Matthew Wilcox (Oracle 2022-01-17 1282)
cb67f4282bf9693 Hugh Dickins 2022-11-02 1283 /**
cb67f4282bf9693 Hugh Dickins 2022-11-02 1284 * folio_mapcount() - Calculate the number of mappings of this folio.
cb67f4282bf9693 Hugh Dickins 2022-11-02 1285 * @folio: The folio.
cb67f4282bf9693 Hugh Dickins 2022-11-02 1286 *
cb67f4282bf9693 Hugh Dickins 2022-11-02 1287 * A large folio tracks both how many times the entire folio is mapped,
cb67f4282bf9693 Hugh Dickins 2022-11-02 1288 * and how many times each individual page in the folio is mapped.
cb67f4282bf9693 Hugh Dickins 2022-11-02 1289 * This function calculates the total number of times the folio is
cb67f4282bf9693 Hugh Dickins 2022-11-02 1290 * mapped.
cb67f4282bf9693 Hugh Dickins 2022-11-02 1291 *
cb67f4282bf9693 Hugh Dickins 2022-11-02 1292 * Return: The number of times this folio is mapped.
cb67f4282bf9693 Hugh Dickins 2022-11-02 1293 */
cb67f4282bf9693 Hugh Dickins 2022-11-02 1294 static inline int folio_mapcount(struct folio *folio)
4ba1119cd53166d Matthew Wilcox (Oracle 2022-01-17 1295) {
cb67f4282bf9693 Hugh Dickins 2022-11-02 1296 if (likely(!folio_test_large(folio)))
cb67f4282bf9693 Hugh Dickins 2022-11-02 1297 return atomic_read(&folio->_mapcount) + 1;
b14224fbea62e5b Matthew Wilcox (Oracle 2023-01-11 @1298) return folio_total_mapcount(folio);
4ba1119cd53166d Matthew Wilcox (Oracle 2022-01-17 1299) }
4ba1119cd53166d Matthew Wilcox (Oracle 2022-01-17 1300)
:::::: The code at line 1298 was first introduced by commit
:::::: b14224fbea62e5bffd680613376fe1268f4103ba mm: convert total_compound_mapcount() to folio_total_mapcount()
:::::: TO: Matthew Wilcox (Oracle) <willy@infradead.org>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-11-18 18:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 18:40 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-18 18:40 [android-common:android15-6.6-2026-07 2/2] include/linux/mm.h:1298: undefined reference to `folio_total_mapcount' kernel test robot
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=20261118193753.4VX3DIBB-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@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.