Commit 7b16bbf9 authored by Committed by Ingo MolnarBrowse files
Revert "x86/mm: Fix the size calculation of mapping tables"
Commit: 722bc6b1 x86/mm: Fix the size calculation of mapping tables Tried to address the issue that the first 2/4M should use 4k pages if PSE enabled, but extra counts should only be valid for x86_32. This commit caused a kdump regression: the kdump kernel hangs. Work is in progress to fundamentally fix the various page table initialization issues that we have, via the design suggested by H. Peter Anvin, but it's not ready yet to be merged. So, to get a working kdump revert to the last known working version, which is the revert of this commit and of a followup fix (which was incomplete): bd2753b2 x86/mm: Only add extra pages count for the first memory range during pre-allocation Tested kdump on physical and virtual machines. Signed-off-by: Dave Young <firstname.lastname@example.org> Acked-by: Yinghai Lu <email@example.com> Acked-by: Cong Wang <firstname.lastname@example.org> Acked-by: Flavio Leitner <email@example.com> Tested-by: Flavio Leitner <firstname.lastname@example.org> Cc: Dan Carpenter <email@example.com> Cc: Cong Wang <firstname.lastname@example.org> Cc: Flavio Leitner <email@example.com> Cc: Tejun Heo <firstname.lastname@example.org> Cc: email@example.com Cc: Vivek Goyal <firstname.lastname@example.org> Cc: Linus Torvalds <email@example.com> Cc: Andrew Morton <firstname.lastname@example.org> Cc: <email@example.com> Signed-off-by: Ingo Molnar <firstname.lastname@example.org>