[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171121070553.ocar3maqbwofvj7t@gmail.com>
Date: Tue, 21 Nov 2017 08:05:53 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
moritz.lipp@...k.tugraz.at, daniel.gruss@...k.tugraz.at,
michael.schwarz@...k.tugraz.at, richard.fellner@...dent.tugraz.at,
luto@...nel.org, torvalds@...ux-foundation.org,
keescook@...gle.com, hughd@...gle.com, x86@...nel.org
Subject: Re: [PATCH 09/30] x86, kaiser: only populate shadow page tables for
userspace
* Thomas Gleixner <tglx@...utronix.de> wrote:
> > + */
> > +static inline bool pgd_userspace_access(pgd_t pgd)
> > +{
> > + return (pgd.pgd & _PAGE_USER);
> > +}
Also a nit: the parentheses are superfluous - these aren't macros.
Thanks,
Ingo
Powered by blists - more mailing lists