linux/Documentation
Wu Fengguang 478c5ffc0b HWPOISON: add page flags filter
When specified, only poison pages if ((page_flags & mask) == value).

-       corrupt-filter-flags-mask
-       corrupt-filter-flags-value

This allows stress testing of many kinds of pages.

Strictly speaking, the buddy pages requires taking zone lock, to avoid
setting PG_hwpoison on a "was buddy but now allocated to someone" page.
However we can just do nothing because we set PG_locked in the beginning,
this prevents the page allocator from allocating it to someone. (It will
BUG() on the unexpected PG_locked, which is fine for hwpoison testing.)

[AK: Add select PROC_PAGE_MONITOR to satisfy dependency]

CC: Nick Piggin <npiggin@suse.de>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
2009-12-16 12:19:59 +01:00
..
2009-12-09 12:04:34 +02:00
2009-10-01 21:17:49 +02:00
2009-12-03 19:28:53 +01:00
2009-11-30 13:46:04 -08:00
2009-12-08 20:30:41 -08:00
2009-09-20 12:27:42 +02:00
2009-12-03 09:32:25 +02:00
2009-11-09 09:40:54 +01:00
2009-12-16 12:19:59 +01:00
2009-10-04 22:53:41 +02:00
2009-10-15 07:25:20 -06:00
2009-12-09 18:59:52 -08:00