[ 094/101] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Shin commit 844ab6f993b1d32eb40512503d35ff6ad0c57030 upstream. Current logic finds enough space for direct mapping page tables from 0 to end. Instead, we only need to find enough space

[ 094/101] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Shin jacob.s...@amd.com commit 844ab6f993b1d32eb40512503d35ff6ad0c57030 upstream. Current logic finds enough space for direct mapping page tables from 0 to end. Instead, we only need to