Re: [PATCH v2 3/3] m68k: switch to MEMBLOCK + NO_BOOTMEM
From: Geert Uytterhoeven
Date: Wed Jul 04 2018 - 09:05:25 EST
On Wed, Jul 4, 2018 at 2:36 PM Michal Hocko <mhocko@xxxxxxxxxx> wrote:
> [CC Andrew - email thread starts
> OK, so here we go with the full patch.
> From 0e8432b875d98a7a0d3f757fce2caa8d16a8de15 Mon Sep 17 00:00:00 2001
> From: Michal Hocko <mhocko@xxxxxxxx>
> Date: Wed, 4 Jul 2018 14:31:46 +0200
> Subject: [PATCH] memblock: do not complain about top-down allocations for
> Mike Rapoport is converting architectures from bootmem to noboodmem
> allocator. While doing so for m68k Geert has noticed that he gets
> a scary looking warning
> WARNING: CPU: 0 PID: 0 at mm/memblock.c:230
> memblock: bottom-up allocation failed, memory hotunplug may be affected
> The warning is basically saying that a top-down allocation can break
> memory hotremove because memblock allocation is not movable. But m68k
> doesn't even support MEMORY_HOTREMOVE is there is no point to warn
so there is
> about it.
> Make the warning conditional only to configurations that care.
Still, I'm wondering if the warning is really that unlikely on systems
hotremove. Or is it due to the low amount of RAM on m68k boxes?
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
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