- lib-rwsemc-un-inline-rwsem_down_failed_common.patch removed from -mm tree

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

 



The patch titled

     lib/rwsem.c: un-inline rwsem_down_failed_common()

has been removed from the -mm tree.  Its filename is

     lib-rwsemc-un-inline-rwsem_down_failed_common.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: lib/rwsem.c: un-inline rwsem_down_failed_common()
From: Andreas Mohr <andi@xxxxxxxxxxxxxxxxxxxxxxx>

Un-inlining rwsem_down_failed_common() (two callsites) reduced lib/rwsem.o
on my Athlon, gcc 4.1.2 from 5935 to 5480 Bytes (455 Bytes saved).

I thus guess that reduced icache footprint (and better function caching) is
worth more than any function call overhead.

Signed-off-by: Andreas Mohr <andi@xxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 lib/rwsem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN lib/rwsem.c~lib-rwsemc-un-inline-rwsem_down_failed_common lib/rwsem.c
--- a/lib/rwsem.c~lib-rwsemc-un-inline-rwsem_down_failed_common
+++ a/lib/rwsem.c
@@ -146,7 +146,7 @@ __rwsem_do_wake(struct rw_semaphore *sem
 /*
  * wait for a lock to be granted
  */
-static inline struct rw_semaphore *
+static struct rw_semaphore *
 rwsem_down_failed_common(struct rw_semaphore *sem,
 			struct rwsem_waiter *waiter, signed long adjustment)
 {
_

Patches currently in -mm which might be from andi@xxxxxxxxxxxxxxxxxxxxxxx are

origin.patch
fs-bioc-tweaks.patch
acx1xx-wireless-driver.patch
fs-inodec-tweaks.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