]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/gup: drop nth_page() usage within folio when recording subpages
authorDavid Hildenbrand <david@redhat.com>
Mon, 1 Sep 2025 15:03:39 +0000 (17:03 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 21 Sep 2025 21:22:05 +0000 (14:22 -0700)
commit541541dbfeb84f0995ad1ec54a643c72081d46fc
tree914518ae5585832d582d3e42f7b9f6340aac324b
parent1a55ac6068ae4ca2024164c6d484d681a3f98299
mm/gup: drop nth_page() usage within folio when recording subpages

nth_page() is no longer required when iterating over pages within a single
folio, so let's just drop it when recording subpages.

Link: https://lkml.kernel.org/r/20250901150359.867252-19-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/gup.c