HWPOISON: Add simple debugfs interface to inject hwpoison on arbitary PFNs
authorAndi Kleen <andi@firstfloor.org>
Wed, 16 Sep 2009 09:50:17 +0000 (11:50 +0200)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Sep 2009 09:50:17 +0000 (11:50 +0200)
commitcae681fc12a824631337906d6ba1dbd498e751a5
tree121ca5ece3adc954010f32f1d502066158124887
parent9893e49d64a4874ea67849ee2cfbf3f3d6817573
HWPOISON: Add simple debugfs interface to inject hwpoison on arbitary PFNs

Useful for some testing scenarios, although specific testing is often
done better through MADV_POISON

This can be done with the x86 level MCE injector too, but this interface
allows it to do independently from low level x86 changes.

v2: Add module license (Haicheng Li)

Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/Kconfig
mm/Makefile
mm/hwpoison-inject.c [new file with mode: 0644]