aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2012-09-07 13:44:01 -0700
committerJens Axboe <[email protected]>2012-09-09 10:35:38 +0200
commit94818742316e27d01506240cf8b07d69844d31af (patch)
treed940b88519a4755422cfcfcffc63174b918fdc92 /tools/perf/util/scripting-engines/trace-event-perl.c
parent1e2a410ff71504a64d1af2e354287ac51aeac1b0 (diff)
dm: Use bioset's front_pad for dm_rq_clone_bio_info
Previously, dm_rq_clone_bio_info needed to be freed by the bio's destructor to avoid a memory leak in the blk_rq_prep_clone() error path. This gets rid of a memory allocation and means we can kill dm_rq_bio_destructor. The _rq_bio_info_cache kmem cache is unused now and needs to be deleted, but due to the way io_pool is used and overloaded this looks not quite trivial so I'm leaving it for a later patch. v6: Fix comment on struct dm_rq_clone_bio_info, per Tejun Signed-off-by: Kent Overstreet <[email protected]> CC: Alasdair Kergon <[email protected]> Acked-by: Tejun Heo <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions