Re: [PATCH RFC] x86: Reduce MAX_LOCAL_APIC and MAX_IO_APICS
From: Thomas Gleixner
Date: Wed Sep 30 2015 - 11:12:41 EST
On Fri, 25 Sep 2015, Denys Vlasenko wrote:
>
> +config MAX_LAPIC_ID
> + int "Maximum APIC ID"
> + range 8 32768
> + default "8"
> + ---help---
> + Use this option to set maximum allowed Local APIC ID higher than
> + maximum number of CPUs. This may be necessary for machines
> + with large number of processor sockets and non-contiguous
> + LAPIC numbering.
> + This setting will be automatically rounded up, if necessary.
This is wrong. If you would limit the APIC IDs then you really break
stuff. You can only limit the number of APICs.
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
And that's not a really large machine..
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/