[PATCH 0/3] Bitmap optimisations

From: Matthew Wilcox
Date: Wed Jun 07 2017 - 10:30:17 EST


From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>

These three bitmap patches use more efficient specialisations when the
compiler can figure out that it's safe to do so.

Matthew Wilcox (3):
bitmap: Optimise bitmap_set and bitmap_clear of a single bit
Turn bitmap_set and bitmap_clear into memset when possible
bitmap: Use memcmp optimisation in more situations

include/linux/bitmap.h | 33 +++++++++++++++++++++++++++------
lib/bitmap.c | 8 ++++----
2 files changed, 31 insertions(+), 10 deletions(-)

--
2.11.0