* Re: [RFC PATCH 3/5] mm/page_alloc: convert any movable pageblock on a non-movable allocation
[not found] <20261007021250.1665929-4-riel@surriel.com>
@ 2026-10-10 15:49 ` kernel test robot
2026-10-10 17:14 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-10 15:49 UTC (permalink / raw)
To: Rik van Riel; +Cc: llvm, oe-kbuild-all
Hi Rik,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on 67f0943b394d920b6c142aad8c6af94340342ae7]
url: https://github.com/intel-lab-lkp/linux/commits/Rik-van-Riel/mm-page_alloc-count-guard-pages-as-free-again-when-their-buddy-merges/20261006-221246
base: 67f0943b394d920b6c142aad8c6af94340342ae7
patch link: https://lore.kernel.org/r/20261007021250.1665929-4-riel%40surriel.com
patch subject: [RFC PATCH 3/5] mm/page_alloc: convert any movable pageblock on a non-movable allocation
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20261010/202610102333.1wHL7KPQ-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 51b433b4f56c531c0d95ba15e1a15e06c399d552)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261010/202610102333.1wHL7KPQ-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/202610102333.1wHL7KPQ-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:8:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'PMD_SHIFT'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:60:46: note: expanded from macro 'pageblock_order'
60 | #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~~~~
arch/riscv/include/asm/page.h:20:34: note: expanded from macro 'HUGETLB_PAGE_ORDER'
20 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
arch/riscv/include/asm/page.h:17:22: note: expanded from macro 'HPAGE_SHIFT'
17 | #define HPAGE_SHIFT PMD_SHIFT
| ^~~~~~~~~
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:8:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'PMD_SHIFT'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:60:46: note: expanded from macro 'pageblock_order'
60 | #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~~~~
arch/riscv/include/asm/page.h:20:34: note: expanded from macro 'HUGETLB_PAGE_ORDER'
20 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
arch/riscv/include/asm/page.h:17:22: note: expanded from macro 'HPAGE_SHIFT'
17 | #define HPAGE_SHIFT PMD_SHIFT
| ^~~~~~~~~
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:8:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'PMD_SHIFT'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:60:46: note: expanded from macro 'pageblock_order'
60 | #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~~~~
arch/riscv/include/asm/page.h:20:34: note: expanded from macro 'HUGETLB_PAGE_ORDER'
20 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
arch/riscv/include/asm/page.h:17:22: note: expanded from macro 'HPAGE_SHIFT'
17 | #define HPAGE_SHIFT PMD_SHIFT
| ^~~~~~~~~
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:8:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'PMD_SHIFT'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:60:46: note: expanded from macro 'pageblock_order'
60 | #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~~~~
arch/riscv/include/asm/page.h:20:34: note: expanded from macro 'HUGETLB_PAGE_ORDER'
20 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
arch/riscv/include/asm/page.h:17:22: note: expanded from macro 'HPAGE_SHIFT'
17 | #define HPAGE_SHIFT PMD_SHIFT
| ^~~~~~~~~
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:8:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'PMD_SHIFT'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:60:46: note: expanded from macro 'pageblock_order'
60 | #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~~~~
arch/riscv/include/asm/page.h:20:34: note: expanded from macro 'HUGETLB_PAGE_ORDER'
20 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
arch/riscv/include/asm/page.h:17:22: note: expanded from macro 'HPAGE_SHIFT'
17 | #define HPAGE_SHIFT PMD_SHIFT
| ^~~~~~~~~
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:8:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'PMD_SHIFT'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:60:46: note: expanded from macro 'pageblock_order'
60 | #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~~~~
arch/riscv/include/asm/page.h:20:34: note: expanded from macro 'HUGETLB_PAGE_ORDER'
20 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
arch/riscv/include/asm/page.h:17:22: note: expanded from macro 'HPAGE_SHIFT'
17 | #define HPAGE_SHIFT PMD_SHIFT
| ^~~~~~~~~
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:8:
In file included from include/linux/gfp.h:7:
include/linux/mmzone.h:1240:17: error: use of undeclared identifier 'PMD_SHIFT'
1240 | start + pageblock_nr_pages <= zone_end_pfn(zone);
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:60:46: note: expanded from macro 'pageblock_order'
60 | #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~~~~
arch/riscv/include/asm/page.h:20:34: note: expanded from macro 'HUGETLB_PAGE_ORDER'
20 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
arch/riscv/include/asm/page.h:17:22: note: expanded from macro 'HPAGE_SHIFT'
17 | #define HPAGE_SHIFT PMD_SHIFT
| ^~~~~~~~~
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:8:
In file included from include/linux/gfp.h:7:
include/linux/mmzone.h:1240:17: error: use of undeclared identifier 'PMD_SHIFT'
1240 | start + pageblock_nr_pages <= zone_end_pfn(zone);
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:60:46: note: expanded from macro 'pageblock_order'
60 | #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~~~~
arch/riscv/include/asm/page.h:20:34: note: expanded from macro 'HUGETLB_PAGE_ORDER'
20 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
arch/riscv/include/asm/page.h:17:22: note: expanded from macro 'HPAGE_SHIFT'
17 | #define HPAGE_SHIFT PMD_SHIFT
| ^~~~~~~~~
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
99 | set->sig[1] | set->sig[0]) == 0;
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
101 | return (set->sig[1] | set->sig[0]) == 0;
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/riscv/kernel/asm-offsets.c:9:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds]
114 | return (set1->sig[3] == set2->sig[3]) &&
| ^ ~
vim +/PMD_SHIFT +1237 include/linux/mmzone.h
1229
1230 /*
1231 * Whether the pageblock holding @pfn lies wholly inside @zone. Zone
1232 * spans are not pageblock-aligned, so the edge pageblocks of a zone
1233 * can straddle into the next zone; those never change type.
1234 */
1235 static inline bool zone_spans_pageblock(const struct zone *zone, unsigned long pfn)
1236 {
> 1237 unsigned long start = pageblock_start_pfn(pfn);
1238
1239 return zone->zone_start_pfn <= start &&
1240 start + pageblock_nr_pages <= zone_end_pfn(zone);
1241 }
1242
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC PATCH 3/5] mm/page_alloc: convert any movable pageblock on a non-movable allocation
[not found] <20261007021250.1665929-4-riel@surriel.com>
2026-10-10 15:49 ` [RFC PATCH 3/5] mm/page_alloc: convert any movable pageblock on a non-movable allocation kernel test robot
@ 2026-10-10 17:14 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-10 17:14 UTC (permalink / raw)
To: Rik van Riel; +Cc: llvm, oe-kbuild-all
Hi Rik,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on 67f0943b394d920b6c142aad8c6af94340342ae7]
url: https://github.com/intel-lab-lkp/linux/commits/Rik-van-Riel/mm-page_alloc-count-guard-pages-as-free-again-when-their-buddy-merges/20261006-221246
base: 67f0943b394d920b6c142aad8c6af94340342ae7
patch link: https://lore.kernel.org/r/20261007021250.1665929-4-riel%40surriel.com
patch subject: [RFC PATCH 3/5] mm/page_alloc: convert any movable pageblock on a non-movable allocation
config: x86_64-randconfig-1006-20261010 (https://download.01.org/0day-ci/archive/20261011/202610110115.cCikSIza-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261011/202610110115.cCikSIza-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/202610110115.cCikSIza-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:18:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'HPAGE_PMD_ORDER'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:66:46: note: expanded from macro 'pageblock_order'
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:18:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'HPAGE_PMD_ORDER'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:66:46: note: expanded from macro 'pageblock_order'
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:18:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'HPAGE_PMD_ORDER'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:66:46: note: expanded from macro 'pageblock_order'
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:18:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'HPAGE_PMD_ORDER'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:66:46: note: expanded from macro 'pageblock_order'
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:18:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'HPAGE_PMD_ORDER'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:66:46: note: expanded from macro 'pageblock_order'
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:18:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
>> include/linux/mmzone.h:1237:24: error: use of undeclared identifier 'HPAGE_PMD_ORDER'
1237 | unsigned long start = pageblock_start_pfn(pfn);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:78:52: note: expanded from macro 'pageblock_start_pfn'
78 | #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages)
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:66:46: note: expanded from macro 'pageblock_order'
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:18:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
include/linux/mmzone.h:1240:17: error: use of undeclared identifier 'HPAGE_PMD_ORDER'
1240 | start + pageblock_nr_pages <= zone_end_pfn(zone);
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:66:46: note: expanded from macro 'pageblock_order'
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:18:
In file included from include/linux/slab.h:17:
In file included from include/linux/gfp.h:7:
include/linux/mmzone.h:1240:17: error: use of undeclared identifier 'HPAGE_PMD_ORDER'
1240 | start + pageblock_nr_pages <= zone_end_pfn(zone);
| ^~~~~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:75:36: note: expanded from macro 'pageblock_nr_pages'
75 | #define pageblock_nr_pages (1UL << pageblock_order)
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:66:46: note: expanded from macro 'pageblock_order'
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:10:
In file included from include/crypto/aria.h:22:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/x86/include/asm/elf.h:10:
In file included from arch/x86/include/asm/ia32.h:7:
In file included from include/linux/compat.h:17:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/x86/kernel/asm-offsets.c:10:
In file included from include/crypto/aria.h:22:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/x86/include/asm/elf.h:10:
In file included from arch/x86/include/asm/ia32.h:7:
In file included from include/linux/compat.h:17:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/x86/kernel/asm-offsets.c:10:
In file included from include/crypto/aria.h:22:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/x86/include/asm/elf.h:10:
In file included from arch/x86/include/asm/ia32.h:7:
In file included from include/linux/compat.h:17:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
99 | set->sig[1] | set->sig[0]) == 0;
| ^ ~
arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
24 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from arch/x86/kernel/asm-offsets.c:10:
In file included from include/crypto/aria.h:22:
In file included from include/linux/module.h:20:
In file included from include/linux/elf.h:6:
In file included from arch/x86/include/asm/elf.h:10:
In file included from arch/x86/include/asm/ia32.h:7:
vim +/HPAGE_PMD_ORDER +1237 include/linux/mmzone.h
1229
1230 /*
1231 * Whether the pageblock holding @pfn lies wholly inside @zone. Zone
1232 * spans are not pageblock-aligned, so the edge pageblocks of a zone
1233 * can straddle into the next zone; those never change type.
1234 */
1235 static inline bool zone_spans_pageblock(const struct zone *zone, unsigned long pfn)
1236 {
> 1237 unsigned long start = pageblock_start_pfn(pfn);
1238
1239 return zone->zone_start_pfn <= start &&
1240 start + pageblock_nr_pages <= zone_end_pfn(zone);
1241 }
1242
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-10 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20261007021250.1665929-4-riel@surriel.com>
2026-10-10 15:49 ` [RFC PATCH 3/5] mm/page_alloc: convert any movable pageblock on a non-movable allocation kernel test robot
2026-10-10 17:14 ` 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