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

Stephen Boyd sboyd at kernel.org
Thu Oct 14 17:44:51 PDT 2021


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?



More information about the linux-arm-kernel mailing list