diff options
| author | Tony Luck <[email protected]> | 2022-10-21 13:01:20 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-30 15:58:40 -0800 |
| commit | d302c2398ba269e788a4f37ae57c07a7fcabaa42 (patch) | |
| tree | cd952d14e1487c62ac8e43135cd832f7f5807018 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a873dfe1032a132bf89f9e19a6ac44f5a0b78754 (diff) | |
mm, hwpoison: when copy-on-write hits poison, take page offline
Cannot call memory_failure() directly from the fault handler because
mmap_lock (and others) are held.
It is important, but not urgent, to mark the source page as h/w poisoned
and unmap it from other tasks.
Use memory_failure_queue() to request a call to memory_failure() for the
page with the error.
Also provide a stub version for CONFIG_MEMORY_FAILURE=n
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Tony Luck <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Shuai Xue <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions