diff options
-rw-r--r-- | include/linux/fault-inject.h | 1 | ||||
-rw-r--r-- | mm/page_alloc.c | 2 | ||||
-rw-r--r-- | mm/slab.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fault-inject.h b/include/linux/fault-inject.h index c77067916b7e..32368c4f0326 100644 --- a/include/linux/fault-inject.h +++ b/include/linux/fault-inject.h | |||
@@ -52,6 +52,7 @@ struct fault_attr { | |||
52 | .times = ATOMIC_INIT(1), \ | 52 | .times = ATOMIC_INIT(1), \ |
53 | .require_end = ULONG_MAX, \ | 53 | .require_end = ULONG_MAX, \ |
54 | .stacktrace_depth = 32, \ | 54 | .stacktrace_depth = 32, \ |
55 | .verbose = 2, \ | ||
55 | } | 56 | } |
56 | 57 | ||
57 | #define DECLARE_FAULT_ATTR(name) struct fault_attr name = FAULT_ATTR_INITIALIZER | 58 | #define DECLARE_FAULT_ATTR(name) struct fault_attr name = FAULT_ATTR_INITIALIZER |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 0cc8b4376e91..e6b17b2989e0 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -910,6 +910,8 @@ static struct fail_page_alloc_attr { | |||
910 | 910 | ||
911 | } fail_page_alloc = { | 911 | } fail_page_alloc = { |
912 | .attr = FAULT_ATTR_INITIALIZER, | 912 | .attr = FAULT_ATTR_INITIALIZER, |
913 | .ignore_gfp_wait = 1, | ||
914 | .ignore_gfp_highmem = 1, | ||
913 | }; | 915 | }; |
914 | 916 | ||
915 | static int __init setup_fail_page_alloc(char *str) | 917 | static int __init setup_fail_page_alloc(char *str) |
@@ -3102,6 +3102,7 @@ static struct failslab_attr { | |||
3102 | 3102 | ||
3103 | } failslab = { | 3103 | } failslab = { |
3104 | .attr = FAULT_ATTR_INITIALIZER, | 3104 | .attr = FAULT_ATTR_INITIALIZER, |
3105 | .ignore_gfp_wait = 1, | ||
3105 | }; | 3106 | }; |
3106 | 3107 | ||
3107 | static int __init setup_failslab(char *str) | 3108 | static int __init setup_failslab(char *str) |