Re: [PATCH 00/13] arch, mm: reduce code duplication in mem_init()
Andrew Morton <[email protected]>
| Newsgroups | gmane.linux.ports.hexagon,gmane.linux.ports.alpha,gmane.linux.kernel,gmane.linux.kernel.arc,gmane.linux.ports.arm.kernel,gmane.linux.ports.mips,gmane.linux.ports.parisc,gmane.linux.ports.ppc64.devel,gmane.linux.ports.riscv,gmane.linux.ports.sh.devel,gmane.linux.ports.sparc,gmane.linux.uml.devel,gmane.linux.kernel.cross-arch,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 6 Mar 2025 20:51:10 +0200 Mike Rapoport <[email protected]> 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.