linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Improve bitmap_empty and bitmap_full
@ 2015-11-19  2:31 Jia He
  2015-11-19  2:31 ` [PATCH 1/3] linux/bitmap: Move 2 mask macro to bitops.h Jia He
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Jia He @ 2015-11-19  2:31 UTC (permalink / raw)
  To: linux-kernel, linux-arch
  Cc: Andrew Morton, Rasmus Villemoes, Denys Vlasenko, Kyungmin Park,
	Michal Nazarewicz, Yury Norov, Tejun Heo, Martin Kepplinger,
	George Spelvin, Ingo Molnar, Arnd Bergmann, 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.

Jia He (3):
  linux/bitmap: Move 2 mask macro from bitmap.h to bitops.h
  lib: Introduce 2 find bit api: all_is_bit_{one,zero}
  linux/bitmap: Replace find_fisrt_{zero_}bit with the new lightweight api 

 include/asm-generic/bitops/find.h |  3 +++
 include/linux/bitmap.h            |  7 ++----
 include/linux/bitops.h            |  4 ++++
 lib/find_bit.c                    | 50 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 5 deletions(-)

-- 
2.5.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-11-22 19:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-19  2:31 [PATCH 0/3] Improve bitmap_empty and bitmap_full Jia He
2015-11-19  2:31 ` [PATCH 1/3] linux/bitmap: Move 2 mask macro to bitops.h Jia He
2015-11-19  2:31   ` Jia He
2015-11-22 19:17   ` Andy Shevchenko
2015-11-19  2:31 ` [PATCH 2/3] lib: Introduce 2 find bit api: all_is_bit_{one,zero} Jia He
2015-11-19  2:31   ` Jia He
2015-11-20  8:52   ` Geert Uytterhoeven
2015-11-20  8:52     ` Geert Uytterhoeven
2015-11-20 13:57   ` Michal Nazarewicz
2015-11-20 13:57     ` Michal Nazarewicz
2015-11-19  2:31 ` [PATCH 3/3] linux/bitmap: Replace find_fisrt_{zero_}bit with the new lightweight api Jia He
2015-11-19  2:53   ` kbuild test robot
2015-11-19  2:53     ` kbuild test robot
2015-11-19  3:24     ` hejianet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).