Re: [PATCH 09/30] x86, kaiser: only populate shadow page tables for userspace
From: Ingo Molnar
Date: Tue Nov 21 2017 - 02:06:04 EST
* Thomas Gleixner <tglx@xxxxxxxxxxxxx> 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