Skip to contentSkip to conversation

linux-next: build failure after merge of the folio tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Feb 7, 2022 – Feb 9, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the folio tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

mm/page_vma_mapped.c: In function 'page_vma_mapped_walk':
mm/page_vma_mapped.c:219:48: error: implicit declaration of function 'pmd_pfn'; did you mean 'pmd_off'? [-Werror=implicit-function-declaration]

  219 |                                 if (!check_pmd(pmd_pfn(pmde), pvmw))
      |                                                ^~~~~~~
      |                                                pmd_off

Caused by commit

02ecfe9b9580 ("mm: Convert page_vma_mapped_walk to work on PFNs")

Presumably you need to explicitly include <linux/pgtable.h>?

I have used the folio tree from next-20220204 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 10 lines · On Mon, 7 Feb 2022 15:06:21 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the folio tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

mm/page_vma_mapped.c: In function 'page_vma_mapped_walk':
mm/page_vma_mapped.c:219:48: error: implicit declaration of function 'pmd_pfn'; did you mean 'pmd_off'? [-Werror=implicit-function-declaration]

  219 |                                 if (!check_pmd(pmd_pfn(pmde), pvmw))
      |                                                ^~~~~~~
      |                                                pmd_off
Quoted 7 lines

Caused by commit

02ecfe9b9580 ("mm: Convert page_vma_mapped_walk to work on PFNs")

Presumably you need to explicitly include <linux/pgtable.h>?

I have used the folio tree from next-20220204 for today.

I am still getting this build failure.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 15 lines · Stephen Rothwell

Hi all,

Quoted 12 lines · On Mon, 7 Feb 2022 15:06:21 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the folio tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

mm/page_vma_mapped.c: In function 'page_vma_mapped_walk':
mm/page_vma_mapped.c:219:48: error: implicit declaration of function 'pmd_pfn'; did you mean 'pmd_off'? [-Werror=implicit-function-declaration]

  219 |                                 if (!check_pmd(pmd_pfn(pmde), pvmw))
      |                                                ^~~~~~~
      |                                                pmd_off

Caused by commit

Quoted 7 lines
Quoted 5 lines

02ecfe9b9580 ("mm: Convert page_vma_mapped_walk to work on PFNs")

Presumably you need to explicitly include <linux/pgtable.h>?

I have used the folio tree from next-20220204 for today.

I am still getting this build failure.

I have it fixed in my tree, but haven't pushed it out yet. There's going to be a giant pile of conflicts between Hugh's rework of mlock which just landed in mm and my folioisation of mlock, which I haven't even started trying to redo yet.

We're back to the "it's hard to work with the mm tree" problem. Tempted to resolve it by taking Hugh's patches into my tree since there's no other way to create a stable base to work against.