diff options
author | Miaohe Lin <[email protected]> | 2022-05-19 20:50:28 +0800 |
---|---|---|
committer | akpm <[email protected]> | 2022-05-27 09:33:46 -0700 |
commit | 7b49514fa1dbe05813f099179ebe3d982f45e87e (patch) | |
tree | d93be081cc6f67587713bb9dc94c1e7b3833a3e5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 14a762dd1977cf811516fd97b0262b747cac88f7 (diff) |
mm/madvise: free hwpoison and swapin error entry in madvise_free_pte_range
Once the MADV_FREE operation has succeeded, callers can expect they might
get zero-fill pages if accessing the memory again. Therefore it should be
safe to delete the hwpoison entry and swapin error entry. There is no
reason to kill the process if it has called MADV_FREE on the range.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Suggested-by: Alistair Popple <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Naoya Horiguchi <[email protected]>
Cc: David Howells <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: NeilBrown <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Ralph Campbell <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions