From: Jeremy Fitzhardinge Date: Mon, 17 Nov 2008 17:35:00 +0000 (-0800) Subject: xen: fix scrub_page() X-Git-Tag: v2.6.28-rc6~14^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26a3e99160cfb06a0a33e25b9fb0d516e2cc680d;p=pandora-kernel.git xen: fix scrub_page() Impact: fix guest kernel crash with CONFIG_XEN_SCRUB_PAGES=y Jens noticed that scrub_page() has a buggy unmap of the wrong thing. (virtual address instead of page) Linus pointed out that the whole scrub_page() code is an unnecessary reimplementation of clear_highpage() to begin with. Just use clear_highpage() rather than reimplementing it poorly. Reported-by: Jens Axboe Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed