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: <20120119113916.GE3178@opensource.wolfsonmicro.com>
Date:	Thu, 19 Jan 2012 11:39:16 +0000
From:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
To:	Wolfram Sang <w.sang@...gutronix.de>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: regmap: no indexed caching?

On Thu, Jan 19, 2012 at 12:37:08PM +0100, Wolfram Sang wrote:

> 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?

There should be vanishingly little overhead from the rbtree, you'll just
end up with a single cache node containing all the registers (unless
they're widely separated numerically) - it may even be faster as we
don't need to search the array looking for the index.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ