Re: [PATCH 1/2 v2] x86: add max_addr boot option

H. Peter Anvin
2012-06-11T21:15:20Z

On 06/11/2012 01:44 AM, Wen Congyang wrote:
> Currently, the boot option max_addr is only supported on ia64 platform.
> We also need it on x86 platform.
> For example:
> There are two nodes:
> NODE#0 address range 0x00000000 00000000 - 0x00010000 00000000
> NODE#1 address range 0x00010000 00000000 - 0x00020000 00000000
> If we only want to use node0, we can specify the max_addr. The boot
> option "mem=" can do the same thing now. But the boot option "mem="
> means the total memory used by the system. If we tell the user
> that the boot option "mem=" can do this, it will confuse the user.
> So we need an new boot option "max_addr" on x86 platform.
>

I fail to see what this does that cannot be done with the
since-long-existing memmap= option. Could you address why memmap=
doesn't match your needs?

-hpa