From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f200.google.com (mail-io0-f200.google.com [209.85.223.200]) by kanga.kvack.org (Postfix) with ESMTP id 2ECD56B0069 for ; Tue, 16 Jan 2018 11:52:54 -0500 (EST) Received: by mail-io0-f200.google.com with SMTP id d17so15177409ioc.23 for ; Tue, 16 Jan 2018 08:52:54 -0800 (PST) Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id d190si2123909iog.214.2018.01.16.08.52.49 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Jan 2018 08:52:49 -0800 (PST) Date: Tue, 16 Jan 2018 17:52:13 +0100 From: Peter Zijlstra Subject: Re: [PATCH 06/16] x86/mm/ldt: Reserve high address-space range for the LDT Message-ID: <20180116165213.GF2228@hirez.programming.kicks-ass.net> References: <1516120619-1159-1-git-send-email-joro@8bytes.org> <1516120619-1159-7-git-send-email-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516120619-1159-7-git-send-email-joro@8bytes.org> Sender: owner-linux-mm@kvack.org List-ID: To: Joerg Roedel Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andy Lutomirski , Dave Hansen , Josh Poimboeuf , Juergen Gross , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , aliguori@amazon.com, daniel.gruss@iaik.tugraz.at, hughd@google.com, keescook@google.com, Andrea Arcangeli , Waiman Long , jroedel@suse.de On Tue, Jan 16, 2018 at 05:36:49PM +0100, Joerg Roedel wrote: > From: Joerg Roedel > > 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org