From: Yinghai Lu Date: Thu, 24 Jan 2013 20:19:53 +0000 (-0800) Subject: x86, 64bit: #PF handler set page to cover only 2M per #PF X-Git-Tag: v3.9-rc1~105^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b9c75aca6cba4d99a6e8d8274b1788d4d4b50d9;p=pandora-kernel.git x86, 64bit: #PF handler set page to cover only 2M per #PF We only map a single 2 MiB page per #PF, even though we should be able to do this a full gigabyte at a time with no additional memory cost. This is a workaround for a broken AMD reference BIOS (and its derivatives in shipping system) which maps a large chunk of memory as WB in the MTRR system but will #MC if the processor wanders off and tries to prefetch that memory, which can happen any time the memory is mapped in the TLB. Signed-off-by: Yinghai Lu Link: http://lkml.kernel.org/r/1359058816-7615-13-git-send-email-yinghai@kernel.org Cc: Alexander Duyck [ hpa: rewrote the patch description ] Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed