aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2020-07-18 11:31:20 +0300
committerJens Axboe <[email protected]>2020-07-24 13:00:45 -0600
commit5dbcad51f78434e782d0470b8b5fc4380700c35f (patch)
treeca3f1b1f9be35f84d06e5dcea240740b263235e6 /tools/perf/scripts/python/export-to-sqlite.py
parent7fbb1b541f4286cc337b9bca1e5bad0ce4ee978c (diff)
io_uring: don't miscount pinned memory
io_sqe_buffer_unregister() uses cxt->sqo_mm for memory accounting, but io_ring_ctx_free() drops ->sqo_mm before leaving pinned_vm over-accounted. Postpone mm cleanup for when it's not needed anymore. Fixes: 309758254ea62 ("io_uring: report pinned memory usage") Signed-off-by: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions