Thread (3 messages) 3 messages, 3 authors, 2021-10-18

Re: [PATCH] clk: make clk_core_lookup faster by using clk name hash

From: Chen-Yu Tsai <wenst@chromium.org>
Date: 2021-10-18 03:38:47
Also in: linux-arm-kernel, linux-clk, lkml

On Fri, Oct 15, 2021 at 8:44 AM Stephen Boyd [off-list ref] wrote:
Quoting Mark-PK Tsai (2021-10-04 23:59:49)
quoted
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?

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help