lkml.org 
[lkml]   [2018]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 12/16] x86/mm/pae: Populate the user page-table with user pgd's
    From
    Date
    On 01/16/2018 01:10 PM, Thomas Gleixner wrote:
    >
    > static inline pteval_t supported_pgd_mask(void)
    > {
    > if (IS_ENABLED(CONFIG_X86_64))
    > return __supported_pte_mask;
    > return __supported_pte_mask & ~_PAGE_NX);
    > }
    >
    > and get rid of the ifdeffery completely.

    Heh, that's an entertaining way to do it. Joerg, if you go do it this
    way, it would be nice to add all the other gunk that we don't allow to
    be set in the PAE pgd.

    \
     
     \ /
      Last update: 2018-01-16 22:16    [W:4.236 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site