]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "x86/mm: Fix the size calculation of mapping tables"
authorDave Young <dyoung@redhat.com>
Thu, 18 Oct 2012 06:33:23 +0000 (14:33 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Oct 2012 07:38:25 +0000 (09:38 +0200)
commit2831fe420858febc2b831c37d7b648a11060792e
tree9c921175f1f27efdc909658195e9d02252b36d07
parentaf5e37f95c9b2067f69643e9360b584df7158406
Revert "x86/mm: Fix the size calculation of mapping tables"

Commit:

   4c94dab537bc 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):

   42cf5f0281f6 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 <dyoung@redhat.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Tested-by: Flavio Leitner <fbl@redhat.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Flavio Leitner <fbl@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: ianfang.cn@gmail.com
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/init.c