lkml.org 
[lkml]   [2017]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] Bitmap optimisations
Date
From: Matthew Wilcox <mawilcox@microsoft.com>

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

\
 
 \ /
  Last update: 2017-06-12 01:05    [W:0.124 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site