Home
last modified time | relevance | path

Searched hist:"15325 b4f768f2b27b5765489eeab6ec0d6b5e902" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/lib/
H A Dvsprintf.cdiff 15325b4f768f2b27b5765489eeab6ec0d6b5e902 Sat Aug 14 16:17:13 CDT 2021 Yury Norov <yury.norov@gmail.com> vsprintf: rework bitmap_list_string

bitmap_list_string() is very ineffective when printing bitmaps with long
ranges of set bits because it calls find_next_bit for each bit in the
bitmap. We can do better by detecting ranges of set bits.

In my environment, before/after is 943008/31008 ns.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>