[PATCH RFC] powerpc/mm: Support bootmem for PPC64 again

Balbir Singh bsingharora at gmail.com
Sat Mar 26 18:15:48 AEDT 2016


On Sat, Mar 26, 2016 at 3:03 AM, Gavin Shan <gwshan at linux.vnet.ibm.com> wrote:
> CONFIG_NO_BOOTMEM is enabled on PPC platforms by default. However,
> user might disable that to have bootmem for other purpose. So it's
> resonable to support it.
>

The changelog could use some rewriting. What other purpose would
bootmem would be used for?

> This implements setup_bootmem() which is called by initmem_init()
> to setup bootmem node and its free bitmap. In the meantime, the
> free pages frames tracked by memblock are released to bootmem.
> In theory, we also need similar thing for PPC32 platforms. However,
> I don't have machine for testing. So that would be something later
> when I have hardware to test.
>

Balbir Singh


More information about the Linuxppc-dev mailing list