Messages in this thread | | | Date | Tue, 21 Nov 2017 08:05:53 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 09/30] x86, kaiser: only populate shadow page tables for userspace |
| |
* Thomas Gleixner <tglx@linutronix.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
| |