]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/asm-generic/mman-common.h
HWPOISON: Add a madvise() injector for soft page offlining
[net-next-2.6.git] / include / asm-generic / mman-common.h
index 20111265afd80a6cbc5a65d057f5100aa7dac69f..3da9e2742fa0ec2e7c80a0490ec7c783bdda7f7b 100644 (file)
@@ -40,6 +40,7 @@
 #define MADV_DONTFORK  10              /* don't inherit across fork */
 #define MADV_DOFORK    11              /* do inherit across fork */
 #define MADV_HWPOISON  100             /* poison a page for testing */
+#define MADV_SOFT_OFFLINE 101          /* soft offline page for testing */
 
 #define MADV_MERGEABLE   12            /* KSM may merge identical pages */
 #define MADV_UNMERGEABLE 13            /* KSM may not merge identical pages */