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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 21 Apr 2022 09:35:57 +0200
From:   Miquel Raynal <miquel.raynal@...tlin.com>
To:     Vincent Whitchurch <vincent.whitchurch@...s.com>, vigneshr@...com,
        richard@....at, miquel.raynal@...tlin.com, joern@...ybastard.org
Cc:     kernel@...s.com, linux-mtd@...ts.infradead.org,
        devicetree@...r.kernel.org, robh+dt@...nel.org, krzk+dt@...nel.org,
        frowand.list@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 4/4] mtd: phram: Allow cached mappings

On Tue, 2022-04-12 at 13:53:02 UTC, Vincent Whitchurch wrote:
> Currently phram always uses ioremap(), but this is unnecessary when
> normal memory is used.  If the reserved-memory node does not specify the
> no-map property, indicating it should be mapped as system RAM and
> ioremap() cannot be used on it, use a cached mapping using
> memremap(MEMREMAP_WB) instead.
> 
> On one of my systems this improves read performance by ~70%.
> 
> Signed-off-by: Vincent Whitchurch <vincent.whitchurch@...s.com>
> Reported-by: kernel test robot <lkp@...el.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ