diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-07-16 02:40:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:45 -0400 |
commit | 54114994f4de7e8076fc250e44501e55e19b75b5 (patch) | |
tree | b0b0c2b5c3cf1c0daa7c6db7911c42dcf912f181 /Documentation/fault-injection/fault-injection.txt | |
parent | 203a2935c734c054bfd4665fb5d8835498af50a8 (diff) |
fault-injection: add min-order parameter to fail_page_alloc
Limiting smaller allocation failures by fault injection helps to find real
possible bugs. Because higher order allocations are likely to fail and
zero-order allocations are not likely to fail.
This patch adds min-order parameter to fail_page_alloc. It specifies the
minimum page allocation order to be injected failures.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/fault-injection/fault-injection.txt')
-rw-r--r-- | Documentation/fault-injection/fault-injection.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/fault-injection/fault-injection.txt b/Documentation/fault-injection/fault-injection.txt index b7ca560b9340..36ece095ff17 100644 --- a/Documentation/fault-injection/fault-injection.txt +++ b/Documentation/fault-injection/fault-injection.txt | |||
@@ -103,6 +103,11 @@ configuration of fault-injection capabilities. | |||
103 | default is 'N', setting it to 'Y' will inject failures | 103 | default is 'N', setting it to 'Y' will inject failures |
104 | only into non-sleep allocations (GFP_ATOMIC allocations). | 104 | only into non-sleep allocations (GFP_ATOMIC allocations). |
105 | 105 | ||
106 | - /debug/fail_page_alloc/min-order: | ||
107 | |||
108 | specifies the minimum page allocation order to be injected | ||
109 | failures. | ||
110 | |||
106 | o Boot option | 111 | o Boot option |
107 | 112 | ||
108 | In order to inject faults while debugfs is not available (early boot time), | 113 | In order to inject faults while debugfs is not available (early boot time), |