aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2014-10-06 15:23:06 -0600
committerJens Axboe <[email protected]>2014-11-04 13:18:37 -0700
commit9dbbfab7d54109626031bf3bc476fb1804113970 (patch)
tree49d5e8d5357dc0e77625f0632a91078e4ab67904 /tools/perf/scripts/python/stackcollapse.py
parent9e60352cf83faaba57f99f6960b545687b8bbb20 (diff)
NVMe: Do not over allocate for discard requests
Discard requests are often for very large ranges. The discard size is not representative of the data transfer size so we don't need to allocate for such a large prp list. This patch requests allocating only enough for the memory needed for the data transfer and saves a little over 8k of memory per max discard request. Signed-off-by: Keith Busch <[email protected]> Reported-by: Paul Grabinar <[email protected]> Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions