tree: feng/pcache_cleanup
head: a20ca1d06794ad410f289251bf9e9abb781e9008
commit: d9e77a90d78df9cc9bfb37c436073110ebc62dc1 [52/54] page-flag: add PG_good
config: i386-debian-10.3 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout d9e77a90d78df9cc9bfb37c436073110ebc62dc1
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/mmzone.h:19:0,
from include/linux/gfp.h:6,
from include/linux/slab.h:15,
from include/linux/crypto.h:19,
from arch/x86/kernel/asm-offsets.c:9:
> include/linux/page-flags-layout.h:95:2: error: #error "Not
enough bits in page flags"
#error "Not enough bits in page
flags"
^~~~~
In file included from include/linux/memcontrol.h:20:0,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
include/linux/mm.h:929:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH >
BITS_PER_LONG - NR_PAGEFLAGS
#error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS
^~~~~
make[2]: *** [scripts/Makefile.build:99: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1113: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
32 real 8 user 19 sys 85.59% cpu make prepare
vim +95 include/linux/page-flags-layout.h
75980e97daccfc Peter Zijlstra 2013-02-22 92
2813b9c0296259 Andrey Konovalov 2018-12-28 93 #if
SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH+LAST_CPUPID_WIDTH+KASAN_TAG_WIDTH \
2813b9c0296259 Andrey Konovalov 2018-12-28 94 > BITS_PER_LONG - NR_PAGEFLAGS
ee38d94a0ad898 Arnd Bergmann 2019-08-02 @95 #error "Not enough bits in page
flags"
2813b9c0296259 Andrey Konovalov 2018-12-28 96 #endif
2813b9c0296259 Andrey Konovalov 2018-12-28 97
:::::: The code at line 95 was first introduced by commit
:::::: ee38d94a0ad89890b770f6c876263cf9fcbfde84 page flags: prioritize kasan bits over
last-cpuid
:::::: TO: Arnd Bergmann <arnd(a)arndb.de>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org