Re: [PATCH 05/17] gup: Add try_get_folio()

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

 



On 1/4/22 17:25, John Hubbard wrote:
@@ -128,8 +129,10 @@ struct page *try_grab_compound_head(struct page *page,
                      int refs, unsigned int flags)
  {
      if (flags & FOLL_GET)
-        return try_get_compound_head(page, refs);
+        return &try_get_folio(page, refs)->page;


Did you want to use folio_page() here, instead?

...never mind about that, because I see that patch 08 gets rid of the
"->page", anyway.


thanks,
--
John Hubbard
NVIDIA





[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