summaryrefslogtreecommitdiff
path: root/block/partitions/atari.c
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2017-06-29 21:02:14 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-07-01 17:06:56 -0400
commitf557e32c0023ea0d67cdaa81b3398550dc1e4876 (patch)
treec1bdb3d972b6275cd1fbd6ba1dce1334ebd0171e /block/partitions/atari.c
parente4a80c31f2e863295cb2351f23ae486b0513a705 (diff)
scsi: hisi_sas: optimise DMA slot memory
Currently we allocate 3 sets of DMA memories from separate pools for each slot. This is inefficient in terms of memory usage (buffers are less than 1 page in size, so we lose due to alignment), and also time spent in doing 3 allocations + de-allocations per slot, instead of 1. To optimise, combine the 3 DMA buffers into a single buffer from a single pool. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block/partitions/atari.c')
0 files changed, 0 insertions, 0 deletions