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

2017-10-24 Thread Prarit Bhargava
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 to (MAX_LOCAL_APIC * u16) = 128k. This is a l

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

2017-09-08 Thread Prarit Bhargava
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