[PATCH 00/13] arch, mm: reduce code duplication in mem_init()

Andrew Morton akpm at linux-foundation.org
Fri Mar 7 08:20:03 AEDT 2025


On Thu,  6 Mar 2025 20:51:10 +0200 Mike Rapoport <rppt at kernel.org> wrote:

> Every architecture has implementation of mem_init() function and some
> even more than one. All these release free memory to the buddy
> allocator, most of them set high_memory to the end of directly
> addressable memory and many of them set max_mapnr for FLATMEM case.
> 
> These patches pull the commonalities into the generic code and refactor
> some of the mem_init() implementations so that many of them can be just
> dropped.

Thanks, I added this series to mm.git.


More information about the Linuxppc-dev mailing list