page_alloc.c:undefined reference to `memcg_bulk_pre_charge_hook'

From: kernel test robot
Date: Tue Oct 12 2021 - 11:45:58 EST


tree: https://github.com/0day-ci/linux/commits/UPDATE-20211012-182031/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703
head: e10c5e64a0799c75d26d2a82c03f757335616711
commit: e10c5e64a0799c75d26d2a82c03f757335616711 memcg: enable memory accounting in __alloc_pages_bulk
date: 5 hours ago
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/e10c5e64a0799c75d26d2a82c03f757335616711
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20211012-182031/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703
git checkout e10c5e64a0799c75d26d2a82c03f757335616711
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um SUBARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

/usr/bin/ld: mm/page_alloc.o: in function `__alloc_pages_bulk':
>> page_alloc.c:(.text+0x5b3e): undefined reference to `memcg_bulk_pre_charge_hook'
>> /usr/bin/ld: page_alloc.c:(.text+0x5cdb): undefined reference to `memcg_bulk_charge_hook'
>> /usr/bin/ld: page_alloc.c:(.text+0x5d3d): undefined reference to `memcg_bulk_post_charge_hook'
/usr/bin/ld: page_alloc.c:(.text+0x5ea9): undefined reference to `memcg_bulk_post_charge_hook'
collect2: error: ld returned 1 exit status

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip