Re: build error at mm_unstable shmem.c: undefined reference to `vma_thp_gfp_mask')

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 28, 2024 at 10:48:01AM -0700, Jeff Xu wrote:
> Hi,
> 
> When I enlist to mm_unstable branch, there is a build error:
> 
> ld: vmlinux.o: in function `shmem_swapin_folio':
> shmem.c:(.text+0x21b5d5): undefined reference to `vma_thp_gfp_mask'
> make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
> make[1]: *** [/usr/local/google/home/jeffxu/mm/Makefile:1156: vmlinux] Error 2
> make: *** [Makefile:224: __sub-make] Error 2
> 
> And it is fixed by adding CONFIG_TRANSPARENT_HUGEPAGE to .config
> 
> Is there a recent change in shmem.c and adding this dependency ?
> Maybe updating Kconfig or adding an ifdef ?

This was reported by SeongJae Park already. And Baolin provided a hunk [1].

[1]
https://lore.kernel.org/all/8c03467c-63b2-43b4-9851-222d4188725c@xxxxxxxxxxxxxxxxx/

Daniel

> 
> Thanks
> Best Regards
> -Jeff




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux