Files
linux/lib
Akinobu Mita 933e312e73 [PATCH] fault-injection capability for alloc_pages()
This patch provides fault-injection capability for alloc_pages()

Boot option:

fail_page_alloc=<interval>,<probability>,<space>,<times>

	<interval> -- specifies the interval of failures.

	<probability> -- specifies how often it should fail in percent.

	<space> -- specifies the size of free space where memory can be
		   allocated safely in pages.

	<times> -- specifies how many times failures may happen at most.

Debugfs:

/debug/fail_page_alloc/interval
/debug/fail_page_alloc/probability
/debug/fail_page_alloc/specifies
/debug/fail_page_alloc/times
/debug/fail_page_alloc/ignore-gfp-highmem
/debug/fail_page_alloc/ignore-gfp-wait

Example:

	fail_page_alloc=10,100,0,-1

The page allocation (alloc_pages(), ...) fails once per 10 times.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-08 08:29:02 -08:00
..
2006-12-08 08:28:39 -08:00
2006-12-08 08:28:39 -08:00
2006-06-25 10:01:20 -07:00
2006-06-25 10:01:20 -07:00
2006-12-07 08:39:25 -08:00
2006-06-20 20:24:58 -07:00
2006-10-06 08:53:40 -07:00
2006-06-25 10:01:09 -07:00
2006-12-04 02:00:22 -05:00
2006-10-03 08:03:41 -07:00
2006-03-24 18:47:11 +01:00
2006-11-30 05:32:19 +01:00
2006-06-28 17:09:34 -07:00