Re: [v6.6-stable PATCH] mm: gup: stop abusing try_grab_folio

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

 





On 8/7/24 5:59 PM, Sasha Levin wrote:
On Tue, Aug 06, 2024 at 12:30:36PM -0700, Yang Shi wrote:
commit f442fa6141379a20b48ae3efabee827a3d260787 upstream

A kernel warning was reported when pinning folio in CMA memory when
launching SEV virtual machine.  The splat looks like:

[snip]

This doesn't compile on 6.6...

Oops, CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD is not available on arm64 (my build machine). It is also a problem for 6.9. Will send v2 soon.


mm/huge_memory.c: In function 'follow_devmap_pud':
mm/huge_memory.c:1213:8: error: implicit declaration of function 'try_grab_page'; did you mean 'try_get_page'? [-Werror=implicit-function-declaration]
 1213 |  ret = try_grab_page(page, flags);
      |        ^~~~~~~~~~~~~
      |        try_get_page






[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