Re: [PATCH v8 34/46] x86, mm: Add check before clear pte abovemax_low_pfn on 32bit

From: Yinghai Lu
Date: Wed Nov 28 2012 - 15:37:57 EST


On Wed, Nov 28, 2012 at 11:09 AM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
>> /*
>> * Remove any mappings which extend past the end of physical
>> - * memory from the boot time page table:
>> + * memory from the boot time page table.
>> + * In virtual address space, we should have at least two pages
>> + * from VMALLOC_END to pkmap or fixmap according to VMALLOC_END
>> + * definition. And max_low_pfn is set to VMALLOC_END physical
>> + * address. If initial memory mapping is doing right job, we
>> + * should have pte used near max_low_pfn or one pmd is not present.
>
> 'have pte used near' ?
>
> Do you mean we should have an used PTE near max_low_pfn and one
> empty PMD?
>

==>
* we should have used PTE to map address near max_low_pfn or
* one empty PMD
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/