Lines Matching +full:mode +full:- +full:recovery

11 (``MCA recovery``). This requires the OS to declare a page "poisoned",
43 The code consists of a the high level handler in mm/memory-failure.c,
48 of applications. KVM support requires a recent qemu-kvm release.
56 Failure recovery modes
59 There are two (actually three) modes memory failure recovery can be in:
62 All memory failures cause a panic. Do not attempt recovery.
69 This is the mode used by KVM qemu.
83 Enable early kill mode globally
86 Set early/late kill mode/revert to system default
91 arg2 defines thread specific mode
106 return current mode
111 * madvise(MADV_HWPOISON, ....) (as root) - Poison a page in the
114 * hwpoison-inject module through debugfs ``/sys/kernel/debug/hwpoison/``
116 corrupt-pfn
120 unpoison-pfn
121 Software-unpoison page at PFN echoed into this file. This way
129 corrupt-filter-dev-major, corrupt-filter-dev-minor
131 system defined by block device major/minor. -1U is the
135 corrupt-filter-memcg
143 usemem -m 100 -s 1000 &
144 echo `jobs -p` > /sys/fs/cgroup/mem/hwpoison/tasks
146 memcg_ino=$(ls -id /sys/fs/cgroup/mem/hwpoison | cut -f1 -d' ')
147 echo $memcg_ino > /debug/hwpoison/corrupt-filter-memcg
149 page-types -p `pidof init` --hwpoison # shall do nothing
150 page-types -p `pidof usemem` --hwpoison # poison its pages
152 corrupt-filter-flags-mask, corrupt-filter-flags-value
156 flag bits are defined in include/linux/kernel-page-flags.h and
157 documented in Documentation/admin-guide/mm/pagemap.rst
161 x86 has mce-inject, mce-test
163 Some portable hwpoison test programs in mce-test, see below.
168 http://halobates.de/mce-lc09-2.pdf
171 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git
174 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
180 - Not all page types are supported and never will. Most kernel internal
183 ---