From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751610AbdFGO3p (ORCPT ); Wed, 7 Jun 2017 10:29:45 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:51319 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751321AbdFGO3g (ORCPT ); Wed, 7 Jun 2017 10:29:36 -0400 From: Matthew Wilcox To: linux-kernel@vger.kernel.org Cc: Andrew Morton , Martin Schwidefsky , Rasmus Villemoes , Matthew Wilcox Subject: [PATCH 0/3] Bitmap optimisations Date: Wed, 7 Jun 2017 07:29:21 -0700 Message-Id: <20170607142924.28552-1-willy@infradead.org> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthew Wilcox 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