On Thu, 6 Mar 2025 20:51:10 +0200 Mike Rapoport <rppt@xxxxxxxxxx> 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.