[lkml]   [2008]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/2] x86: rename PTE_MASK to PTE_PFN_MASK
    Johannes Weiner wrote:
    > PTE_PFN_MASK is not symmetric to PAGE_MASK.

    No, it isn't. Is there anything about the name that suggests that it
    should be? PTE_PFN_MASK is for operating on pteval_t-typed values
    extracted from ptes; PAGE_MASK is for operating on addresses.

    > How about PTE_PROT_MASK?

    That's the opposite sense; the next patch defines it as PTE_FLAGS_MASK.


     \ /
      Last update: 2008-07-22 16:55    [W:0.020 / U:2.620 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site