Re: [PATCH 6/7] x86, mm: setup page table from top-down

From: Yinghai Lu
Date: Tue Oct 09 2012 - 21:53:26 EST


On Tue, Oct 9, 2012 at 4:58 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> Get pgt_buf early from BRK, and use it to map PMD_SIZE to top at first.
> then use page from PMD_SIZE to map next blow range.
>
> alloc_low_page will use page from BRK at first, then will switch to use
> to memblock to find and reserve page for page table usage.
>
> At last we could get rid of calculation and find early pgt related code.
>
> Suggested-by: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>

sorry , there one typo in this patch, please use attached one instead.

Attachment: fix_max_pfn_xx_13.patch
Description: Binary data