[PATCH v4 03/11] x86, 64bit: Set extra ident mapping for whole kernel range

2012-11-24 Thread Yinghai Lu
Current when kernel is loaded above 1G, only [_text, _text+2M] is set up with extra ident page table. That is not enough, some variables that could be used early are out of that range, like BRK for early page table. Need to set map for [_text, _end] include text/data/bss/brk... Also current

[PATCH v4 03/11] x86, 64bit: Set extra ident mapping for whole kernel range

2012-11-24 Thread Yinghai Lu
Current when kernel is loaded above 1G, only [_text, _text+2M] is set up with extra ident page table. That is not enough, some variables that could be used early are out of that range, like BRK for early page table. Need to set map for [_text, _end] include text/data/bss/brk... Also current