[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8a461e44-7d24-5b5d-db04-e7fa85beeaa7@redhat.com>
Date: Mon, 20 Mar 2023 11:30:20 +0100
From: David Hildenbrand <david@...hat.com>
To: Mike Rapoport <rppt@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Matthew Wilcox <willy@...radead.org>, Mel Gorman <mgorman@...e.de>,
Michal Hocko <mhocko@...nel.org>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Vlastimil Babka <vbabka@...e.cz>, linux-kernel@...r.kernel.org,
linux-mips@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 02/15] mm/cma: move init_cma_reserved_pages() to cma.c and
make it static
On 19.03.23 22:59, Mike Rapoport wrote:
> From: "Mike Rapoport (IBM)" <rppt@...nel.org>
>
> init_cma_reserved_pages() only used in cma.c, no point of having it in
> page_alloc.c.
>
> Move init_cma_reserved_pages() to cma.c and make it static.
I guess the motivation is to avoid letting too many subsystems mess with
pageblock migratetypes, managed pages, PG_reserved ...
So it kind of makes sense to have these low-level details out of common
CMA code, no?
--
Thanks,
David / dhildenb
Powered by blists - more mailing lists