linux-next: build failure after merge of the mm-hotfixes tree
Hi all,
After merging the mm-hotfixes tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
mm/khugepaged.c: In function 'hpage_collapse_scan_file':mm/khugepaged.c:2337:21: error: implicit declaration of function 'folio_expected_ref_count' [-Wimplicit-function-declaration]
2337 | if (folio_expected_ref_count(folio) + 1 != folio_ref_count(folio)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~Caused by commit
3bdddbba5f02 ("mm/khugepaged: fix race with folio split/free using temporary reference")
I have reverted that commit for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 7 lines · On Thu, 29 May 2025 09:59:38 +1000 Stephen Rothwell <[email protected]>…
Hi all,
After merging the mm-hotfixes tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
mm/khugepaged.c: In function 'hpage_collapse_scan_file':mm/khugepaged.c:2337:21: error: implicit declaration of function 'folio_expected_ref_count' [-Wimplicit-function-declaration]
Quoted 8 lines
2337 | if (folio_expected_ref_count(folio) + 1 != folio_ref_count(folio)) { | ^~~~~~~~~~~~~~~~~~~~~~~~Caused by commit
3bdddbba5f02("mm/khugepaged: fix race with folio split/free using temporary reference")I have reverted that commit for today.
yup, thanks, that was dependent on an mm-stable patch! I have reordered things to plug the bisection hole.
Hi all,
Quoted 6 lines · On Thu, 29 May 2025 09:59:38 +1000 Stephen Rothwell <[email protected]>…
After merging the mm-hotfixes tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
mm/khugepaged.c: In function 'hpage_collapse_scan_file':mm/khugepaged.c:2337:21: error: implicit declaration of function 'folio_expected_ref_count' [-Wimplicit-function-declaration]
Quoted 8 lines
2337 | if (folio_expected_ref_count(folio) + 1 != folio_ref_count(folio)) { | ^~~~~~~~~~~~~~~~~~~~~~~~Caused by commit
3bdddbba5f02("mm/khugepaged: fix race with folio split/free using temporary reference")I have reverted that commit for today.
folio_expected_ref_count() is not introduced until commit
86ebd50224c0 ("mm: add folio_expected_ref_count() for reference count calculation")
in the mm-stable tree.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Andrew,
Quoted 13 lines · On Wed, 28 May 2025 17:02:56 -0700 Andrew Morton <[email protected]>…
Quoted 10 lines · On Thu, 29 May 2025 09:59:38 +1000 Stephen Rothwell <[email protected]>…
Hi all,
After merging the mm-hotfixes tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
mm/khugepaged.c: In function 'hpage_collapse_scan_file':mm/khugepaged.c:2337:21: error: implicit declaration of function 'folio_expected_ref_count' [-Wimplicit-function-declaration]2337 | if (folio_expected_ref_count(folio) + 1 != folio_ref_count(folio)) { | ^~~~~~~~~~~~~~~~~~~~~~~~
Quoted 8 lines
Quoted 5 lines
Caused by commit
3bdddbba5f02("mm/khugepaged: fix race with folio split/free using temporary reference")I have reverted that commit for today.
yup, thanks, that was dependent on an mm-stable patch! I have reordered things to plug the bisection hole.
Snap!
Signature · 2 lines
Cheers, Stephen Rothwell