]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/hugetlb: remove hugetlb_follow_page_mask() leftover
authorDavid Hildenbrand <david@redhat.com>
Wed, 31 Jul 2024 14:20:00 +0000 (16:20 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 17 Aug 2024 00:52:44 +0000 (17:52 -0700)
commit0f254f22fcfebb257c4cfed0504086ba6e9410f0
treedb3bdeeeace9dc37f0cf1cefa2e6a68c5ce53037
parent975a59e809769982d5103336d2042894728747ee
mm/hugetlb: remove hugetlb_follow_page_mask() leftover

We removed hugetlb_follow_page_mask() in commit 9cb28da54643 ("mm/gup:
handle hugetlb in the generic follow_page_mask code") but forgot to
cleanup some leftovers.

While at it, simplify the hugetlb comment, it's overly detailed and rather
confusing.  Stating that we may end up in there during coredumping is
sufficient to explain the PF_DUMPCORE usage.

Link: https://lkml.kernel.org/r/20240731142000.625044-1-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/userfaultfd.c
include/linux/hugetlb.h