Revert "x86 PAT: remove CPA WARN_ON for zero pte"
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Jan 2009 23:32:12 +0000 (15:32 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Jan 2009 00:25:09 +0000 (16:25 -0800)
commitb5db0e38653bfada34a92f360b4111566ede3842
tree0ebc72a544e3d879ea5f9f57d5f65448d6bf3250
parent647df5189fecb2c2fa811421a3f28bf9034e3a70
Revert "x86 PAT: remove CPA WARN_ON for zero pte"

This reverts commit 58dab916dfb57328d50deb0aa9b3fc92efa248ff, which
makes my Nehalem come to a nasty crawling almost-halt.  It looks like it
turns off caching of regular kernel RAM, with the understandable
slowdown of a few orders of magnitude as a result.

Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Peter Anvin <hpa@zytor.com>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/pageattr.c
arch/x86/mm/pat.c