lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAH6sp9Ms3owydSN8hgSCiLXmOG5ke5yPdRxWbPjTVCS__n3RDA@mail.gmail.com>
Date:   Wed, 28 Jun 2017 17:06:11 +0200
From:   Frans Klaver <fransklaver@...il.com>
To:     John Garry <john.garry@...wei.com>
Cc:     jejb@...ux.vnet.ibm.com, martin.petersen@...cle.com,
        linuxarm@...wei.com, linux-scsi@...r.kernel.org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Xiaofei Tan <tanxiaofei@...wei.com>
Subject: Re: [PATCH] scsi: hisi_sas: optimise DMA slot memory

On Wed, Jun 28, 2017 at 5:25 PM, John Garry <john.garry@...wei.com> wrote:
> From: Xiaofei Tan <tanxiaofei@...wei.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@...wei.com>
> Signed-off-by: Xiaofei Tan <tanxiaofei@...wei.com>

I'm not sure how strictly this is done, but typically the author signs
off first.

Frans

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ