Messages in this thread | | | Date | Thu, 9 Nov 2017 15:15:20 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH] lib: test module for find_*_bit() functions |
| |
On Thu, 9 Nov 2017 17:07:14 +0300 Yury Norov <ynorov@caviumnetworks.com> wrote:
> find_bit functions are widely used in the kernel, including hot paths. > This module tests performance of that functions in 2 typical scenarios: > randomly filled bitmap with relatively equal distribution of set and > cleared bits, and sparse bitmap which has 1 set bit for 500 cleared bits. > > ... > > +config TEST_FIND_BIT
Well. It doesn't actually "test" the code. It measures its performance ;)
| |