From: Andi Kleen Date: Wed, 30 Jan 2008 12:33:43 +0000 (+0100) Subject: x86: c_p_a(), add simple self test at boot X-Git-Tag: v2.6.25-rc1~1143^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa2d8369a1e0e5dd0fdaaba9d40ca5187f4cd20b;p=pandora-kernel.git x86: c_p_a(), add simple self test at boot Since change_page_attr() is tricky code it is good to have some regression test code. This patch maps and unmaps some random pages in the direct mapping at boot and then dumps the state and does some simple sanity checks. Add it with a CONFIG option. Signed-off-by: Andi Kleen Acked-by: Jan Beulich Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed