Re: why do we still need bootmem allocator?
From: Rob Herring
Date: Mon Jun 25 2018 - 12:10:00 EST
On Mon, Jun 25, 2018 at 8:08 AM Michal Hocko <mhocko@xxxxxxxxxx> wrote:
>
> Hi,
> I am wondering why do we still keep mm/bootmem.c when most architectures
> already moved to nobootmem. Is there any fundamental reason why others
> cannot or this is just a matter of work?
Just because no one has done the work. I did a couple of arches
recently (sh, microblaze, and h8300) mainly because I broke them with
some DT changes.
> Btw. what really needs to be
> done? Btw. is there any documentation telling us what needs to be done
> in that regards?
No. The commits converting the arches are the only documentation. It's
a bit more complicated for platforms that have NUMA support.
Rob