Re: [PATCH] m68k: Increase initial mapping to 16MB if possible

Geert Uytterhoeven
2014-06-28T15:55:16Z

Hi Andreas,

On Sat, Jun 28, 2014 at 4:36 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>> In what way doesn't it work?
>
> [ 0.000000] bootmem alloc of 4096 bytes failed!

Interesting. I don't think there are any logical differences between my and
your version, if you have 16 MiB in the first chunk.

Perhaps my changes cause one of the sections to grow or shrink by one
page, leading to a shortage of one page in the bootmem for you?

Do you know where exactly it fails to allocate one page? Is this while mapping
the pages for the rest of RAM? If yes, I guess this failure can be
triggered with
some specific memory configuration with your original version, too.

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds