Re: [PATCH 2/2] x86/topology: Avoid wasting 128k for package id array

2017-09-07 Thread Prarit Bhargava
On 09/06/2017 07:17 PM, Andi Kleen wrote: > From: Andi Kleen > > I was looking at large early boot allocations and noticed that > since (1f12e32f x86/topology: Create logical package id) > every 64bit system allocates a 128k array to convert logical > package ids. > > This happens because the

[PATCH 2/2] x86/topology: Avoid wasting 128k for package id array

2017-09-06 Thread Andi Kleen
From: Andi Kleen I was looking at large early boot allocations and noticed that since (1f12e32f x86/topology: Create logical package id) every 64bit system allocates a 128k array to convert logical package ids. This happens because the array is sized for MAX_LOCAL_APIC and that is always 32k on