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: <CAGXv+5HM07is85SyBEQ07TbvpAsi72qYJXtFEsyFcK2WSO=SsA@mail.gmail.com>
Date:   Mon, 18 Oct 2021 11:38:26 +0800
From:   Chen-Yu Tsai <wenst@...omium.org>
To:     Stephen Boyd <sboyd@...nel.org>
Cc:     Mark-PK Tsai <mark-pk.tsai@...iatek.com>,
        Michael Turquette <mturquette@...libre.com>,
        yj.chiang@...iatek.com, Matthias Brugger <matthias.bgg@...il.com>,
        linux-clk <linux-clk@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" 
        <linux-arm-kernel@...ts.infradead.org>,
        "moderated list:ARM/Mediatek SoC support" 
        <linux-mediatek@...ts.infradead.org>
Subject: Re: [PATCH] clk: make clk_core_lookup faster by using clk name hash

On Fri, Oct 15, 2021 at 8:44 AM Stephen Boyd <sboyd@...nel.org> wrote:
>
> 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?

Maybe because the Mediatek clock driver still does global clk name matching
to resolve parents?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ