Re: [PATCH 06/16] x86/mm/ldt: Reserve high address-space range for the LDT
From: Peter Zijlstra
Date: Tue Jan 16 2018 - 11:53:12 EST
On Tue, Jan 16, 2018 at 05:36:49PM +0100, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@xxxxxxx>
>
> Reserve 2MB/4MB of address space for mapping the LDT to
> user-space.
LDT is 64k, we need 2 per CPU, and NR_CPUS <= 64 on 32bit, that gives
64K*2*64=8M > 2M.