diff options
author | Yinghai Lu <[email protected]> | 2012-11-16 19:39:06 -0800 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2012-11-17 11:59:29 -0800 |
commit | 719272c45b821d38608fc333700bde1a89c56c59 (patch) | |
tree | cf215602048fcb36c8fc50c731db986d5cea51aa /net/lapb/lapb_iface.c | |
parent | ddd3509df8f8d4f1cf4784f559d702ce00dc8846 (diff) |
x86, mm: only call early_ioremap_page_table_range_init() once
On 32bit, before patcheset that only set page table for ram, we only
call that one time.
Now, we are calling that during every init_memory_mapping if we have holes
under max_low_pfn.
We should only call it one time after all ranges under max_low_page get
mapped just like we did before.
Also that could avoid the risk to run out of pgt_buf in BRK.
Need to update page_table_range_init() to count the pages for kmap page table
at first, and use new added alloc_low_pages() to get pages in sequence.
That will conform to the requirement that pages need to be in low to high order.
Signed-off-by: Yinghai Lu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions