shrink_folio_list() does not compile on late-model kernels
Hi-
Some of my CI runs have started failing to build v6.13+ kernels with:
mm/vmscan.c: In function ‘shrink_folio_list’:mm/vmscan.c:1082:21: error: implicit declaration of function ‘folio_contain_hwpoisoned_page’ [-Wimplicit-function-declaration]
1082 | if (folio_contain_hwpoisoned_page(folio)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~make[3]: *** [scripts/Makefile.build:196: mm/vmscan.o] Error 1 make[2]: *** [scripts/Makefile.build:442: mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/data/linux-stable-rc/Makefile:1989: .] Error 2
make: *** [Makefile:251: __sub-make] Error 2
Is there a .config change I need to prevent this failure?
Signature · 1 line
Chuck Lever
Quoted 9 lines · Chuck Lever
Hi-
Some of my CI runs have started failing to build v6.13+ kernels with:
mm/vmscan.c: In function ‘shrink_folio_list’:mm/vmscan.c:1082:21: error: implicit declaration of function ‘folio_contain_hwpoisoned_page’ [-Wimplicit-function-declaration]1082 | if (folio_contain_hwpoisoned_page(folio)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 7 lines
make[3]: *** [
scripts/Makefile.build:196:mm/vmscan.o] Error 1 make[2]: *** [scripts/Makefile.build:442: mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/data/linux-stable-rc/Makefile:1989: .] Error 2
make: *** [Makefile:251: __sub-make] Error 2Is there a .config change I need to prevent this failure?
I don't see why folio_contain_hwpoisoned_page() wouldn't be declared. Could you include your .config?
Quoted 16 lines · Matthew Wilcox
Quoted 15 lines · Chuck Lever
Hi-
Some of my CI runs have started failing to build v6.13+ kernels with:
mm/vmscan.c: In function ‘shrink_folio_list’:mm/vmscan.c:1082:21: error: implicit declaration of function ‘folio_contain_hwpoisoned_page’ [-Wimplicit-function-declaration]1082 | if (folio_contain_hwpoisoned_page(folio)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~make[3]: *** [
scripts/Makefile.build:196:mm/vmscan.o] Error 1 make[2]: *** [scripts/Makefile.build:442: mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/data/linux-stable-rc/Makefile:1989: .] Error 2
make: *** [Makefile:251: __sub-make] Error 2
Quoted 4 lines
Quoted 1 line
Is there a .config change I need to prevent this failure?
I don't see why
folio_contain_hwpoisoned_page()wouldn't be declared. Could you include your .config?
I assumed linux-mm would bounce an attachment. But it turns out I have a sample .config in a public git repo:
The failure seems to be intermittent.
Signature · 1 line
Chuck Lever
Quoted 16 lines · Matthew Wilcox
Quoted 15 lines · Chuck Lever
Hi-
Some of my CI runs have started failing to build v6.13+ kernels with:
mm/vmscan.c: In function ‘shrink_folio_list’:mm/vmscan.c:1082:21: error: implicit declaration of function ‘folio_contain_hwpoisoned_page’ [-Wimplicit-function-declaration]1082 | if (folio_contain_hwpoisoned_page(folio)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~make[3]: *** [
scripts/Makefile.build:196:mm/vmscan.o] Error 1 make[2]: *** [scripts/Makefile.build:442: mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/data/linux-stable-rc/Makefile:1989: .] Error 2
make: *** [Makefile:251: __sub-make] Error 2
Quoted 4 lines
Quoted 1 line
Is there a .config change I need to prevent this failure?
I don't see why
folio_contain_hwpoisoned_page()wouldn't be declared. Could you include your .config?
I have not seen a repeat of this issue.
Signature · 1 line
Chuck Lever