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-next>] [day] [month] [year] [list]
Message-ID: <20120119113708.GC2630@pengutronix.de>
Date:	Thu, 19 Jan 2012 12:37:08 +0100
From:	Wolfram Sang <w.sang@...gutronix.de>
To:	linux-kernel@...r.kernel.org
Cc:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: regmap: no indexed caching?

Hi,

indexed caching was removed from regmap (commit 4c691664583ef6a91f9ed0e08a75fbd30a5ffd5c)
saying:

    There should be no situation where it offers any advantage over rbtree
    and there are no current users so remove the code for simplicity.

What about devices having just a few registers (4 in my case)? I'd think
there are a number of such devices not yet converted to regmap. Is it
assumed that the additional overhead from rbtree-caching will make up
for the code saved?

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ