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] [day] [month] [year] [list]
Message-ID: <20190319111412.GQ46536@ediswmail.ad.cirrus.com>
Date:   Tue, 19 Mar 2019 11:14:12 +0000
From:   Charles Keepax <ckeepax@...nsource.cirrus.com>
To:     Lucas Tanure <tanureal@...nsource.cirrus.com>
CC:     Mark Brown <broonie@...nel.org>, <patches@...nsource.cirrus.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] regmap: debugfs: Jump to the next readable register

On Tue, Mar 19, 2019 at 09:41:33AM +0000, Lucas Tanure wrote:
> Improve the speed of the loop jumping to the next
> available register
> 
> Signed-off-by: Lucas Tanure <tanureal@...nsource.cirrus.com>
> ---

Reviewed-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
Tested-by: Charles Keepax <ckeepax@...nsource.cirrus.com>

A very brief look shows a pretty reasonable speed up on the
massive wm5110 register map.

First regmap cat on wm5110:
 pre-patch:
  real    2m40.865s
  sys     2m21.104s

 post-patch:
  real    2m16.550s
  sys     2m5.799s

Repeat cat on wm5110:
 pre-patch:
  real    2m5.635s
  sys     2m0.030s

 post-patch:
  real    1m45.539s
  sys     1m44.552s

Thanks,
Charles

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ