From: Heiko Carstens Date: Mon, 1 Oct 2012 14:18:46 +0000 (+0200) Subject: s390/mm,pageattr: add more page table walk sanity checks X-Git-Tag: v3.7-rc1~62^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b1ba9e30cf0e259450da19189811eb140733f83;p=pandora-kernel.git s390/mm,pageattr: add more page table walk sanity checks The current page table walk code in pageattr.c only checks for large pages while walking the kernel page table, but happily assumes that everything else is just fine. Add more checks so we never access invalid memory regions. Reviewed-by: Gerald Schaefer Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed