Re: m68k Kconfig warning

From: Kars de Jong
Date: Mon Dec 02 2019 - 07:03:37 EST


Hi Geert & Randy,

Op wo 27 nov. 2019 om 08:12 schreef Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>:
> On Wed, Nov 27, 2019 at 2:27 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> > Just noticed this. I don't know what the right fix is.
> > Would you take care of it, please?
> >
> > on Linux 5.4, m68k allmodconfig:
> >
> > WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES
> > Depends on [n]: DISCONTIGMEM [=n] || NUMA
> > Selected by [y]:
> > - SINGLE_MEMORY_CHUNK [=y] && MMU [=y]
>
> This has been basically there forever, but working.

The reason for SINGLE_MEMORY_CHUNK depending on NEED_MULTIPLE_NODES is
historic due to the way it is implemented.
I played with it this weekend and I got a working version of FLATMEM,
which can replace SINGLE_MEMORY_CHUNK.

I'll clean it up and send a patch later this week. A possible next
step might be to replace DISCONTIGMEM with SPARSEMEM (since
DISCONTIGMEM has been deprecated).

Kind regards,

Kars.