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 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...

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

--
Thanks,
Sasha




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux