Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/mm: Only add extra pages count for the first memory range during …
…pre-allocation early page table space Robin found this regression: | I just tried to boot an 8TB system. It fails very early in boot with: | Kernel panic - not syncing: Cannot find space for the kernel page tables git bisect commit 722bc6b. A git revert of that commit does boot past that point on the 8TB configuration. That commit will add up extra pages for all memory range even above 4g. Try to limit that extra page count adding to first entry only. Bisected-by: Robin Holt <[email protected]> Tested-by: Robin Holt <[email protected]> Signed-off-by: Yinghai Lu <[email protected]> Cc: WANG Cong <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/CAE9FiQUj3wyzQxtq9yzBNc9u220p8JZ1FYHG7t%3DMOzJ%[email protected] Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information