All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Bitmap optimisations
@ 2017-06-28 15:32 Matthew Wilcox
  2017-06-28 15:32 ` [PATCH v2 1/4] test_bitmap: Add optimisation tests Matthew Wilcox
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Matthew Wilcox @ 2017-06-28 15:32 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, Martin Schwidefsky, Rasmus Villemoes, Matthew Wilcox

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.  Thanks to Rasmus'
eagle eyes, a nasty bug in v1 was avoided, and I've added a test case
which would have caught it.

Matthew Wilcox (4):
  test_bitmap: Add optimisation tests
  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 ++++----
 lib/test_bitmap.c      | 29 +++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 10 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-06-28 15:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28 15:32 [PATCH v2 0/4] Bitmap optimisations Matthew Wilcox
2017-06-28 15:32 ` [PATCH v2 1/4] test_bitmap: Add optimisation tests Matthew Wilcox
2017-06-28 15:32 ` [PATCH v2 2/4] bitmap: Optimise bitmap_set and bitmap_clear of a single bit Matthew Wilcox
2017-06-28 15:32 ` [PATCH v2 3/4] Turn bitmap_set and bitmap_clear into memset when possible Matthew Wilcox
2017-06-28 15:32 ` [PATCH v2 4/4] bitmap: Use memcmp optimisation in more situations Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.