aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2023-07-01 15:28:37 +0800
committerAndrew Morton <[email protected]>2023-08-24 16:20:16 -0700
commitd51b68469bc7804c34622f7f3d4889628d37cfd6 (patch)
treecf23abb613ee3caa2990a647eac8e032390015f1 /tools/perf/scripts/python/stackcollapse.py
parent08dff2810e8feb3096bf5c8242ab1649d1e8b1a4 (diff)
mm: memory-failure: fix potential page refcnt leak in memory_failure()
put_ref_page() is not called to drop extra refcnt when comes from madvise in the case pfn is valid but pgmap is NULL leading to page refcnt leak. Link: https://lkml.kernel.org/r/[email protected] Fixes: 1e8aaedb182d ("mm,memory_failure: always pin the page in madvise_inject_error") Signed-off-by: Miaohe Lin <[email protected]> Acked-by: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions