From: Thomas Gleixner Date: Sat, 9 Feb 2008 22:24:09 +0000 (+0100) Subject: x86: cpa, strict range check in try_preserve_large_page() X-Git-Tag: v2.6.25-rc1~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fac84939609a683503947f41eb93e1917d026263;p=pandora-kernel.git x86: cpa, strict range check in try_preserve_large_page() Right now, we check only the first 4k page for static required protections. This does not take overlapping regions into account. So we might end up setting the wrong permissions/protections for other parts of this large page. This can be optimized further, but correctness is the important part. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed