linux/Documentation/vm
Dmitry Monakhov 4c13dd3b48 failslab: add ability to filter slab caches
This patch allow to inject faults only for specific slabs.
In order to preserve default behavior cache filter is off by
default (all caches are faulty).

One may define specific set of slabs like this:
# mark skbuff_head_cache as faulty
echo 1 > /sys/kernel/slab/skbuff_head_cache/failslab
# Turn on cache filter (off by default)
echo 1 > /sys/kernel/debug/failslab/cache-filter
# Turn on fault injection
echo 1 > /sys/kernel/debug/failslab/times
echo 1 > /sys/kernel/debug/failslab/probability

Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
2010-02-26 19:19:39 +02:00
..
.gitignore Documentation/vm/.gitignore: add page-types 2009-09-24 07:20:57 -07:00
00-INDEX hugetlb: add MAP_HUGETLB example 2009-09-22 07:17:42 -07:00
Makefile Documentation/vm/Makefile: don't try to build slqbinfo 2009-06-17 09:45:46 -07:00
active_mm.txt mm: add documentation describing what tsk->active_mm means vs tsk->mm 2009-04-13 15:04:32 -07:00
balance page allocator: use allocation flags as an index to the zone watermark 2009-06-16 19:47:35 -07:00
hugetlbpage.txt hugetlb: handle memory hot-plug events 2009-12-15 08:53:13 -08:00
hwpoison.txt HWPOISON: Use correct name for MADV_HWPOISON in documentation 2009-12-16 12:20:00 +01:00
ksm.txt ksm: remove unswappable max_kernel_pages 2009-12-15 08:53:20 -08:00
locking truncate: new helpers 2009-09-24 08:41:47 -04:00
map_hugetlb.c hugetlb: add MAP_HUGETLB example 2009-09-22 07:17:42 -07:00
numa Documentation: remove duplicated words 2006-10-03 22:57:56 +02:00
numa_memory_policy.txt trivial: fix where cgroup documentation is not correctly referred to 2009-03-30 15:22:02 +02:00
overcommit-accounting Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
page-types.c page-types: add standard GPL license header 2009-12-16 12:19:57 +01:00
page_migration trivial: fix where cgroup documentation is not correctly referred to 2009-03-30 15:22:02 +02:00
pagemap.txt pagemap: document KPF_KSM and show it in page-types 2009-10-08 07:36:39 -07:00
slabinfo.c Documentation/: fix warnings from -Wmissing-prototypes in HOSTCFLAGS 2009-09-23 07:39:28 -07:00
slub.txt failslab: add ability to filter slab caches 2010-02-26 19:19:39 +02:00
unevictable-lru.txt mm: reformat the Unevictable-LRU documentation 2009-04-13 15:04:31 -07:00