On Tue, Oct 9, 2012 at 4:58 PM, Yinghai Lu 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" > Signed-off-by: Yinghai Lu sorry , there one typo in this patch, please use attached one instead.