Re: [PATCH v2 0/4] x86, mm: Handle large PAT bit in pud/pmd interfaces

2015-07-21 Thread Toshi Kani
On Tue, 2015-07-21 at 10:05 +0200, Ingo Molnar wrote: > * Toshi Kani wrote: > > > The PAT bit gets relocated to bit 12 when PUD and PMD mappings are > > used. > > This bit 12, however, is not covered by PTE_FLAGS_MASK, which is > > corrently > > used for masking pfn and flags for all cases. > >

Re: [PATCH v2 0/4] x86, mm: Handle large PAT bit in pud/pmd interfaces

2015-07-21 Thread Ingo Molnar
* Toshi Kani wrote: > The PAT bit gets relocated to bit 12 when PUD and PMD mappings are used. > This bit 12, however, is not covered by PTE_FLAGS_MASK, which is corrently > used for masking pfn and flags for all cases. > > Patch 1/4-2/4 make changes necessary for patch 3/4 to use P?D_PAGE_MASK

[PATCH v2 0/4] x86, mm: Handle large PAT bit in pud/pmd interfaces

2015-07-15 Thread Toshi Kani
The PAT bit gets relocated to bit 12 when PUD and PMD mappings are used. This bit 12, however, is not covered by PTE_FLAGS_MASK, which is corrently used for masking pfn and flags for all cases. Patch 1/4-2/4 make changes necessary for patch 3/4 to use P?D_PAGE_MASK. Patch 3/4 fixes pud/pmd interf