From: Frans Klaver <fransklaver@gmail.com>
To: John Garry <john.garry@huawei.com>
Cc: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com,
linuxarm@huawei.com, linux-scsi@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Xiaofei Tan <tanxiaofei@huawei.com>
Subject: Re: [PATCH] scsi: hisi_sas: optimise DMA slot memory
Date: Wed, 28 Jun 2017 17:06:11 +0200 [thread overview]
Message-ID: <CAH6sp9Ms3owydSN8hgSCiLXmOG5ke5yPdRxWbPjTVCS__n3RDA@mail.gmail.com> (raw)
In-Reply-To: <1498663554-51272-1-git-send-email-john.garry@huawei.com>
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
prev parent reply other threads:[~2017-06-28 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 15:25 John Garry
2017-06-28 15:06 ` Frans Klaver [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH6sp9Ms3owydSN8hgSCiLXmOG5ke5yPdRxWbPjTVCS__n3RDA@mail.gmail.com \
--to=fransklaver@gmail.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=john.garry@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=martin.petersen@oracle.com \
--cc=tanxiaofei@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®