[PATCH 3/7] x86, mm: Don't clear page table if next range is ram

2012-10-09 Thread Yinghai Lu
After we add code use BRK to map buffer for final page table, It should be safe to remove early_memmap for page table accessing. But we get panic with that. It turns out we clear the initial page table wrongly for next range that is separated by holes. And it only happens when we are trying to

[PATCH 3/7] x86, mm: Don't clear page table if next range is ram

2012-10-09 Thread Yinghai Lu
After we add code use BRK to map buffer for final page table, It should be safe to remove early_memmap for page table accessing. But we get panic with that. It turns out we clear the initial page table wrongly for next range that is separated by holes. And it only happens when we are trying to