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

From: Stephen Boyd
Date: Thu Oct 14 2021 - 20:44:57 EST


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?