diff options
author | Kefeng Wang <[email protected]> | 2024-09-06 10:42:01 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-17 01:07:00 -0700 |
commit | 658be46520ce480a44fe405730a1725166298f27 (patch) | |
tree | 00abecaf0c8366e9d310f9d8cc22befe835ca152 /tools/perf/scripts/python | |
parent | aa549f923f5e037a459dcd588932db9abfa8c158 (diff) |
mm: support poison recovery from copy_present_page()
Similar to other poison recovery, use copy_mc_user_highpage() to avoid
potentially kernel panic during copy page in copy_present_page() from
fork, once copy failed due to hwpoison in source page, we need to break
out of copy in copy_pte_range() and release prealloc folio, so
copy_mc_user_highpage() is moved ahead before set *prealloc to NULL.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Jane Chu <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Jiaqi Yan <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Tony Luck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions