Lines Matching +full:mode +full:- +full:recovery
9 (``MCA recovery``). This requires the OS to declare a page "poisoned",
41 The code consists of a the high level handler in mm/memory-failure.c,
46 of applications. KVM support requires a recent qemu-kvm release.
54 Failure recovery modes
57 There are two (actually three) modes memory failure recovery can be in:
60 All memory failures cause a panic. Do not attempt recovery.
67 This is the mode used by KVM qemu.
81 Enable early kill mode globally
84 Set early/late kill mode/revert to system default
89 arg2 defines thread specific mode
104 return current mode
109 * madvise(MADV_HWPOISON, ....) (as root) - Poison a page in the
112 * hwpoison-inject module through debugfs ``/sys/kernel/debug/hwpoison/``
114 corrupt-pfn
118 unpoison-pfn
119 Software-unpoison page at PFN echoed into this file. This way
127 corrupt-filter-dev-major, corrupt-filter-dev-minor
129 system defined by block device major/minor. -1U is the
133 corrupt-filter-memcg
141 usemem -m 100 -s 1000 &
142 echo `jobs -p` > /sys/fs/cgroup/mem/hwpoison/tasks
144 memcg_ino=$(ls -id /sys/fs/cgroup/mem/hwpoison | cut -f1 -d' ')
145 echo $memcg_ino > /debug/hwpoison/corrupt-filter-memcg
147 page-types -p `pidof init` --hwpoison # shall do nothing
148 page-types -p `pidof usemem` --hwpoison # poison its pages
150 corrupt-filter-flags-mask, corrupt-filter-flags-value
154 flag bits are defined in include/linux/kernel-page-flags.h and
155 documented in Documentation/admin-guide/mm/pagemap.rst
159 x86 has mce-inject, mce-test
161 Some portable hwpoison test programs in mce-test, see below.
166 http://halobates.de/mce-lc09-2.pdf
169 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git
172 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
178 - Not all page types are supported and never will. Most kernel internal
181 ---