tree:
https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git mm-pcpburst-v1r12
head: 58035b35a7fe9a471d66815930422839ce5595d4
commit: c03274dedcdbc9afe312ed5925d7c32863525948 [15/16] mm/page_alloc: Allow high-order
pages to be stored on the per-cpu lists
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git/commit/?id=...
git remote add mel
https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git
git fetch --no-tags mel mm-pcpburst-v1r12
git checkout c03274dedcdbc9afe312ed5925d7c32863525948
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/build_bug.h:5,
from include/linux/bits.h:22,
from include/linux/ioport.h:13,
from include/linux/acpi.h:12,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'order_to_pindex':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/mmdebug.h:18:25: note: in expansion of macro 'BUG_ON'
18 | #define VM_BUG_ON(cond) BUG_ON(cond)
| ^~~~~~
include/linux/mmzone.h:355:3: note: in expansion of macro 'VM_BUG_ON'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:355:22: note: in expansion of macro 'pageblock_order'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: each undeclared identifier is reported
only once for each function it appears in
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/mmdebug.h:18:25: note: in expansion of macro 'BUG_ON'
18 | #define VM_BUG_ON(cond) BUG_ON(cond)
| ^~~~~~
include/linux/mmzone.h:355:3: note: in expansion of macro 'VM_BUG_ON'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:355:22: note: in expansion of macro 'pageblock_order'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:6,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:19,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'pindex_to_order':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:371:11: note: in expansion of macro 'pageblock_order'
371 | order = pageblock_order;
| ^~~~~~~~~~~~~~~
include/linux/mmzone.h: In function 'pcp_allowed_order':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:386:15: note: in expansion of macro 'pageblock_order'
386 | if (order == pageblock_order)
| ^~~~~~~~~~~~~~~
--
In file included from include/linux/build_bug.h:5,
from include/linux/bits.h:22,
from include/linux/ioport.h:13,
from include/linux/acpi.h:12,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'order_to_pindex':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/mmdebug.h:18:25: note: in expansion of macro 'BUG_ON'
18 | #define VM_BUG_ON(cond) BUG_ON(cond)
| ^~~~~~
include/linux/mmzone.h:355:3: note: in expansion of macro 'VM_BUG_ON'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:355:22: note: in expansion of macro 'pageblock_order'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: each undeclared identifier is reported
only once for each function it appears in
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/mmdebug.h:18:25: note: in expansion of macro 'BUG_ON'
18 | #define VM_BUG_ON(cond) BUG_ON(cond)
| ^~~~~~
include/linux/mmzone.h:355:3: note: in expansion of macro 'VM_BUG_ON'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:355:22: note: in expansion of macro 'pageblock_order'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:6,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:19,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'pindex_to_order':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:371:11: note: in expansion of macro 'pageblock_order'
371 | order = pageblock_order;
| ^~~~~~~~~~~~~~~
include/linux/mmzone.h: In function 'pcp_allowed_order':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:386:15: note: in expansion of macro 'pageblock_order'
386 | if (order == pageblock_order)
| ^~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:117: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1227: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
In file included from include/linux/build_bug.h:5,
from include/linux/bits.h:22,
from include/linux/ioport.h:13,
from include/linux/acpi.h:12,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'order_to_pindex':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/mmdebug.h:18:25: note: in expansion of macro 'BUG_ON'
18 | #define VM_BUG_ON(cond) BUG_ON(cond)
| ^~~~~~
include/linux/mmzone.h:355:3: note: in expansion of macro 'VM_BUG_ON'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:355:22: note: in expansion of macro 'pageblock_order'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: each undeclared identifier is reported
only once for each function it appears in
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/mmdebug.h:18:25: note: in expansion of macro 'BUG_ON'
18 | #define VM_BUG_ON(cond) BUG_ON(cond)
| ^~~~~~
include/linux/mmzone.h:355:3: note: in expansion of macro 'VM_BUG_ON'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:355:22: note: in expansion of macro 'pageblock_order'
355 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:6,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:19,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'pindex_to_order':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:371:11: note: in expansion of macro 'pageblock_order'
371 | order = pageblock_order;
| ^~~~~~~~~~~~~~~
include/linux/mmzone.h: In function 'pcp_allowed_order':
> include/linux/pageblock-flags.h:41:26: error:
'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 |
#define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:386:15: note: in expansion of macro 'pageblock_order'
386 | if (order == pageblock_order)
| ^~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:117: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1227: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/HUGETLB_PAGE_ORDER +41 include/linux/pageblock-flags.h
d9c2340052278d Mel Gorman 2007-10-16 39
d9c2340052278d Mel Gorman 2007-10-16 40 /* Huge pages are a constant size */
d9c2340052278d Mel Gorman 2007-10-16 @41 #define pageblock_order HUGETLB_PAGE_ORDER
d9c2340052278d Mel Gorman 2007-10-16 42
:::::: The code at line 41 was first introduced by commit
:::::: d9c2340052278d8eb2ffb16b0484f8f794def4de Do not depend on MAX_ORDER when grouping
pages by mobility
:::::: TO: Mel Gorman <mel(a)csn.ul.ie>
:::::: CC: Linus Torvalds <torvalds(a)woody.linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org