+ un-needed-add-store-operation-wastes-a-few-bytes.patch added to -mm tree

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

 



The patch titled
     mm: un-needed add-store operation wastes a few bytes
has been added to the -mm tree.  Its filename is
     un-needed-add-store-operation-wastes-a-few-bytes.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: mm: un-needed add-store operation wastes a few bytes
From: nkalmala <nkalmala@xxxxxxxxx>

Un-needed add-store operation wastes a few bytes.
8 bytes wasted with -O2, on a ppc.

Signed-off-by: nkalmala <nkalmala@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 mm/page_alloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/page_alloc.c~un-needed-add-store-operation-wastes-a-few-bytes mm/page_alloc.c
--- a/mm/page_alloc.c~un-needed-add-store-operation-wastes-a-few-bytes
+++ a/mm/page_alloc.c
@@ -852,7 +852,7 @@ again:
 		pcp = &zone_pcp(zone, cpu)->pcp[cold];
 		local_irq_save(flags);
 		if (!pcp->count) {
-			pcp->count += rmqueue_bulk(zone, 0,
+			pcp->count = rmqueue_bulk(zone, 0,
 						pcp->batch, &pcp->list);
 			if (unlikely(!pcp->count))
 				goto failed;
_

Patches currently in -mm which might be from nkalmala@xxxxxxxxx are

un-needed-add-store-operation-wastes-a-few-bytes.patch
ppc-booke-reg-mcsr-msg-misquoted.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 Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux