aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2025-04-10 11:57:16 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-05-11 17:48:31 -0700
commit339122abb556db2cf497c929a2b6196e37385aee (patch)
tree4218d2500ace9306a4c18915fef2dfa1c23a9cc3 /samples
parentmm/gup: remove unneeded checking in follow_page_pte() (diff)
downloadlinux-339122abb556db2cf497c929a2b6196e37385aee.tar.gz
linux-339122abb556db2cf497c929a2b6196e37385aee.zip
mm/gup: remove gup_fast_pgd_leaf() and clean up the relevant codes
In the current kernel, only pud huge page is supported in some architectures. P4d and pgd huge pages haven't been supported yet. And in mm/gup.c, there's no pgd huge page handling in the follow_page_mask() code path. Hence it doesn't make sense to only have gup_fast_pgd_leaf() in gup_fast code path. Here remove gup_fast_pgd_leaf() and clean up the relevant codes. Link: https://lkml.kernel.org/r/20250410035717.473207-4-bhe@redhat.com Signed-off-by: Baoquan He <bhe@redhat.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Acked-by: David Hildenbrand <david@redhat.com> Cc: Yanjun.Zhu <yanjun.zhu@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions