Re : Re: [PATCH RESEND v3] bitmap: speed up bitmap_find_free_region

From: Chanho Min
Date: Tue May 07 2013 - 20:59:26 EST



>> Test case 1: order is 0. all bits are one except that last one bit is zero.
>> before patch: 29727 ns
>> after patch: 2349 ns
>How did you find out this time?Can you please post your code
>for that?
I used local_clock(), But, It may be more proper way for each system.

before = local_clock();
bitmap_find_free_region(bitmap, 1024,0);
after = local_clock();

Chanho Min,

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/