Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1676770
| From | Frans Klaver <fransklaver@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] scsi: hisi_sas: optimise DMA slot memory |
| Date | 2017-06-28 17:10 +0200 |
| Message-ID | <tXmLo-8q5-31@gated-at.bofh.it> (permalink) |
| References | <tXmBJ-86L-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 28, 2017 at 5:25 PM, John Garry <john.garry@huawei.com> wrote: > From: Xiaofei Tan <tanxiaofei@huawei.com> > > 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 spend 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: John Garry <john.garry@huawei.com> > Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> I'm not sure how strictly this is done, but typically the author signs off first. Frans
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] scsi: hisi_sas: optimise DMA slot memory John Garry <john.garry@huawei.com> - 2017-06-28 17:00 +0200 Re: [PATCH] scsi: hisi_sas: optimise DMA slot memory Frans Klaver <fransklaver@gmail.com> - 2017-06-28 17:10 +0200
csiph-web