Re: [PATCH v3 6/8] mm/gup: Retire follow_hugetlb_page()

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

 



On 23.06.23 16:29, Peter Xu wrote:
Now __get_user_pages() should be well prepared to handle thp completely,
as long as hugetlb gup requests even without the hugetlb's special path.

Time to retire follow_hugetlb_page().

Tweak misc comments to reflect reality of follow_hugetlb_page()'s removal.

Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
---
  fs/userfaultfd.c        |   2 +-
  include/linux/hugetlb.h |  12 ---
  mm/gup.c                |  19 ----
  mm/hugetlb.c            | 224 ----------------------------------------
  4 files changed, 1 insertion(+), 256 deletions(-)

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers,

David / dhildenb





[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