From: Haicheng Li Date: Wed, 16 Dec 2009 11:19:59 +0000 (+0100) Subject: HWPOISON: add an interface to switch off/on all the page filters X-Git-Tag: v2.6.33-rc1~45^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bfe5febe34d2be2120803c10720e179186357c9;p=pandora-kernel.git HWPOISON: add an interface to switch off/on all the page filters In some use cases, user doesn't need extra filtering. E.g. user program can inject errors through madvise syscall to its own pages, however it might not know what the page state exactly is or which inode the page belongs to. So introduce an one-off interface "corrupt-filter-enable". Echo 0 to switch off page filters, and echo 1 to switch on the filters. [AK: changed default to 0] Signed-off-by: Haicheng Li Signed-off-by: Wu Fengguang Signed-off-by: Andi Kleen --- Reading git-diff-tree failed