Re: [PATCH 09/15] mm: move pgtable_init() to mm/mm_init.c and make it static

From: David Hildenbrand
Date: Mon Mar 20 2023 - 06:40:42 EST


On 19.03.23 23:00, Mike Rapoport wrote:
From: "Mike Rapoport (IBM)" <rppt@xxxxxxxxxx>

pgtable_init() is only called from mm_core_init().

Move it close to the caller and make it static.

Why not inline it completely into the single caller? I don't see too much value of this indirection.

--
Thanks,

David / dhildenb