diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-12-16 12:20:00 +0100 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-12-16 12:20:00 +0100 |
commit | afcf938ee0aac4ef95b1a23bac704c6fbeb26de6 (patch) | |
tree | fa4fe6ac0638f0abb8f7ae729b4151b8ecc52052 /mm/hwpoison-inject.c | |
parent | facb6011f3993947283fa15d039dacb4ad140230 (diff) | |
download | op-kernel-dev-afcf938ee0aac4ef95b1a23bac704c6fbeb26de6.zip op-kernel-dev-afcf938ee0aac4ef95b1a23bac704c6fbeb26de6.tar.gz |
HWPOISON: Add a madvise() injector for soft page offlining
Process based injection is much easier to handle for test programs,
who can first bring a page into a specific state and then test.
So add a new MADV_SOFT_OFFLINE to soft offline a page, similar
to the existing hard offline injector.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'mm/hwpoison-inject.c')
0 files changed, 0 insertions, 0 deletions