powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations

Andreas Schwab schwab at linux-m68k.org
Tue Mar 26 07:12:33 AEDT 2019

On Mär 25 2019, Michael Ellerman <mpe at ellerman.id.au> wrote:

> So I'm inclined to just switch to always using SPARSEMEM on 64-bit
> Book3S, because that's what's well tested and we hardly need more code
> paths to test. Unless anyone has a strong objection, I haven't actually
> benchmarked FLATMEM vs SPARSEMEM on a G5.

Configuring with SPARSEMEM saves about 32Mb of memory.


Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

More information about the Linuxppc-dev mailing list