aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2024-10-17 21:07:45 +0200
committerGreg Kroah-Hartman <[email protected]>2024-11-05 14:01:07 +0100
commitce8f9fb651fac95dd41f69afe54d935420b945bd (patch)
treebf669f5b548324c35fe009dfcb62c83d0d66b7dc /tools/perf/scripts/python/check-perf-trace.py
parent9365f0de4303f82ed4c2db1c39d3de824b249d80 (diff)
comedi: Flush partial mappings in error case
If some remap_pfn_range() calls succeeded before one failed, we still have buffer pages mapped into the userspace page tables when we drop the buffer reference with comedi_buf_map_put(bm). The userspace mappings are only cleaned up later in the mmap error path. Fix it by explicitly flushing all mappings in our VMA on the error path. See commit 79a61cc3fc04 ("mm: avoid leaving partial pfn mappings around in error case"). Cc: [email protected] Fixes: ed9eccbe8970 ("Staging: add comedi core") Signed-off-by: Jann Horn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions