Re: why do we still need bootmem allocator?
From: Mike Rapoport
Date: Wed Jun 27 2018 - 06:12:17 EST
On Mon, Jun 25, 2018 at 10:09:41AM -0600, Rob Herring wrote:
> 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.
I have a patch for alpha nearly ready.
That leaves m68k and ia64
> > 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
>
--
Sincerely yours,
Mike.