[folded-merged] find_bit-micro-optimise-find_next__bit-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: find_bit-micro-optimise-find_next__bit-v2
has been removed from the -mm tree.  Its filename was
     find_bit-micro-optimise-find_next__bit-v2.patch

This patch was dropped because it was folded into find_bit-micro-optimise-find_next__bit.patch

------------------------------------------------------
From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
Subject: find_bit-micro-optimise-find_next__bit-v2

Link: http://lkml.kernel.org/r/1483709016-1834-1-git-send-email-mawilcox@xxxxxxxxxxxxxxxxx
Signed-off-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
Acked-by: Yury Norov <ynorov@xxxxxxxxxxxxxxxxxx>
Acked-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/find_bit.c       |    2 +-
 tools/lib/find_bit.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN lib/find_bit.c~find_bit-micro-optimise-find_next__bit-v2 lib/find_bit.c
--- a/lib/find_bit.c~find_bit-micro-optimise-find_next__bit-v2
+++ a/lib/find_bit.c
@@ -151,7 +151,7 @@ static unsigned long _find_next_bit_le(c
 {
 	unsigned long tmp;
 
-	if (!nbits || start >= nbits)
+	if (unlikely(start >= nbits))
 		return nbits;
 
 	tmp = addr[start / BITS_PER_LONG] ^ invert;
diff -puN tools/lib/find_bit.c~find_bit-micro-optimise-find_next__bit-v2 tools/lib/find_bit.c
--- a/tools/lib/find_bit.c~find_bit-micro-optimise-find_next__bit-v2
+++ a/tools/lib/find_bit.c
@@ -34,7 +34,7 @@ static unsigned long _find_next_bit(cons
 {
 	unsigned long tmp;
 
-	if (!nbits || start >= nbits)
+	if (unlikely(start >= nbits))
 		return nbits;
 
 	tmp = addr[start / BITS_PER_LONG] ^ invert;
_

Patches currently in -mm which might be from mawilcox@xxxxxxxxxxxxx are

find_bit-micro-optimise-find_next__bit.patch
checkpatch-add-another-old-address-for-the-fsf.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux