linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* mainline build failure due to b67fbebd4cf9 ("mmu_gather: Force tlb-flush VM_PFNMAP vmas")
@ 2022-07-22  7:53 Sudip Mukherjee (Codethink)
  2022-07-22 16:27 ` Linus Torvalds
  0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee (Codethink) @ 2022-07-22  7:53 UTC (permalink / raw)
  To: Peter Zijlstra, Will Deacon, Linus Torvalds
  Cc: Aneesh Kumar K.V, Andrew Morton, Nick Piggin, Arnd Bergmann,
	linux-arch, linux-mm, linux-kernel

Hi All,

The latest mainline kernel branch fails to build for alpha allmodconfig
with the error:

In file included from ./arch/alpha/include/asm/tlb.h:5,
                 from mm/oom_kill.c:48:
./include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags'
  401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma)
      | ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)'
  372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { }
      | ^~~~~~~~~~~~~~~~~~~~
In file included from ./arch/alpha/include/asm/tlb.h:5,
                 from arch/alpha/mm/init.c:32:
./include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags'
  401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma)
      | ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)'
  372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { }
      | ^~~~~~~~~~~~~~~~~~~~
In file included from ./arch/alpha/include/asm/tlb.h:5,
                 from kernel/sched/core.c:77:
./include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags'
  401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma)
      | ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)'
  372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { }
      | ^~~~~~~~~~~~~~~~~~~~
In file included from ./arch/alpha/include/asm/tlb.h:5,
                 from fs/proc/task_mmu.c:25:
./include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags'
  401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma)
      | ^~~~~~~~~~~~~~~~~~~~
./include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)'
  372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { }
      | ^~~~~~~~~~~~~~~~~~~~

git bisect pointed to b67fbebd4cf9 ("mmu_gather: Force tlb-flush VM_PFNMAP vmas").
And, reverting that commit has fixed the build failure.

I will be happy to test any patch or provide any extra log if needed.

--
Regards
Sudip


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-22 18:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22  7:53 mainline build failure due to b67fbebd4cf9 ("mmu_gather: Force tlb-flush VM_PFNMAP vmas") Sudip Mukherjee (Codethink)
2022-07-22 16:27 ` Linus Torvalds
2022-07-22 17:19   ` Sudip Mukherjee
2022-07-22 18:57     ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox