linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [v6.6-stable PATCH] mm: gup: stop abusing try_grab_folio
       [not found] ` <ZrQYbLGWVf9zOT1p@sashalap>
@ 2024-08-08 18:26   ` Yang Shi
  0 siblings, 0 replies; only message in thread
From: Yang Shi @ 2024-08-08 18:26 UTC (permalink / raw)
  To: Sasha Levin
  Cc: gregkh, yangge1116, hch, david, peterx, akpm, linux-mm, stable,
	linux-kernel



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
>



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-08 18:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240806193037.1826490-1-yang@os.amperecomputing.com>
     [not found] ` <ZrQYbLGWVf9zOT1p@sashalap>
2024-08-08 18:26   ` [v6.6-stable PATCH] mm: gup: stop abusing try_grab_folio Yang Shi

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