Re: [PATCH v2 0/3] Improve bitmap_empty and bitmap_full

2015-11-19 Thread Rasmus Villemoes
On Thu, Nov 19 2015, Jia He wrote: > find_fisrt_{zero_}bit are too heavy for bitmap_{full,empty}. We don't > need to calculate and compare the position of bitmap. This set of patch > instroduces lightweight api and replaces the heavy one. > Please check the history of the code you're modifying.

[PATCH v2 0/3] Improve bitmap_empty and bitmap_full

2015-11-18 Thread Jia He
find_fisrt_{zero_}bit are too heavy for bitmap_{full,empty}. We don't need to calculate and compare the position of bitmap. This set of patch instroduces lightweight api and replaces the heavy one. v2: Move the declarations to linux/bitops.h for compilation Jia He (3): Move 2 mask macro from b