[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171218205732.ql7ejvd743hceotf@hirez.programming.kicks-ass.net>
Date: Mon, 18 Dec 2017 21:57:32 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Dave Hansen <dave.hansen@...el.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>, x86@...nel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andy Lutomirsky <luto@...nel.org>,
Borislav Petkov <bpetkov@...e.de>,
Greg KH <gregkh@...uxfoundation.org>, keescook@...gle.com,
hughd@...gle.com, Brian Gerst <brgerst@...il.com>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Denys Vlasenko <dvlasenk@...hat.com>,
Rik van Riel <riel@...hat.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Juergen Gross <jgross@...e.com>,
David Laight <David.Laight@...lab.com>,
Eduardo Valentin <eduval@...zon.com>, aliguori@...zon.com,
Will Deacon <will.deacon@....com>, daniel.gruss@...k.tugraz.at,
Dave Hansen <dave.hansen@...ux.intel.com>,
Ingo Molnar <mingo@...nel.org>, Borislav Petkov <bp@...e.de>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [patch V163 27/51] x86/mm/pti: Populate user PGD
On Mon, Dec 18, 2017 at 12:45:13PM -0800, Dave Hansen wrote:
> On 12/18/2017 12:41 PM, Peter Zijlstra wrote:
> >> I also don't think the user_shared area of the fixmap can get *that*
> >> big. Does anybody know offhand what the theoretical limits are there?
> > Problem there is the nr_cpus term I think, we currently have up to 8k
> > CPUs, but I can see that getting bigger in the future.
>
> It only matters if we go over 512GB, though. Is the per-cpu part of the
> fixmap ever more than 512GB/8k=64MB?
Unlikely, I think the LDT (@ 32 pages / 128K) and the DS (@ 2*4 pages /
32K) are the largest entries in there.
Powered by blists - more mailing lists