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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 14 Oct 2021 17:44:51 -0700
From:   Stephen Boyd <sboyd@...nel.org>
To:     Mark-PK Tsai <mark-pk.tsai@...iatek.com>, mturquette@...libre.com
Cc:     mark-pk.tsai@...iatek.com, yj.chiang@...iatek.com,
        matthias.bgg@...il.com, linux-clk@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH] clk: make clk_core_lookup faster by using clk name hash

Quoting Mark-PK Tsai (2021-10-04 23:59:49)
> Compare hash value before strcmp the full name to make
> clk_core_lookup faster.
> 
> It make clk driver probe 30 percent faster on the platform
> have 1483 registered clks and average clock name length 20.

Why is clk_core_lookup() a fast path for you?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ