]> Gentwo Git Trees - linux/.git/commit
mm/mm/percpu-km: drop nth_page() usage within single allocation
authorDavid Hildenbrand <david@redhat.com>
Mon, 1 Sep 2025 15:03:35 +0000 (17:03 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 21 Sep 2025 21:22:04 +0000 (14:22 -0700)
commitcb77aa60a0a45db626b7b9db864be38a150a06f7
tree6254bc4eb8f7c9639c301fcba3bb85a19eac17cf
parent372c9b5491d2d8e85a8e1b8b74d4116654f5d816
mm/mm/percpu-km: drop nth_page() usage within single allocation

We're allocating a higher-order page from the buddy.  For these pages
(that are guaranteed to not exceed a single memory section) there is no
need to use nth_page().

Link: https://lkml.kernel.org/r/20250901150359.867252-15-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Acked-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/percpu-km.c