+ reorder-struct-prop_local_single-to-remove-padding-on-64-bit-builds.patch added to -mm tree

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

 



The patch titled
     reorder struct prop_local_single to remove padding on 64 bit builds
has been added to the -mm tree.  Its filename is
     reorder-struct-prop_local_single-to-remove-padding-on-64-bit-builds.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: reorder struct prop_local_single to remove padding on 64 bit builds
From: Richard Kennedy <richard@xxxxxxxxxxxxxxx>

reorder structure to remove 8 bytes of padding on 64 bit builds

(also removes 8 bytes from task_struct)

Signed-off-by: Richard Kennedy <richard@xxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/proportions.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/proportions.h~reorder-struct-prop_local_single-to-remove-padding-on-64-bit-builds include/linux/proportions.h
--- a/include/linux/proportions.h~reorder-struct-prop_local_single-to-remove-padding-on-64-bit-builds
+++ a/include/linux/proportions.h
@@ -104,8 +104,8 @@ struct prop_local_single {
 	 * snapshot of the last seen global state
 	 * and a lock protecting this state
 	 */
-	int shift;
 	unsigned long period;
+	int shift;
 	spinlock_t lock;		/* protect the snapshot state */
 };
 
_

Patches currently in -mm which might be from richard@xxxxxxxxxxxxxxx are

hrtimer-reorder-struct-hrtimer-to-save-8-bytes-on-64-bit-builds.patch
sched-reorder-signal_struct-to-remove-8-bytes-on-64-bit-builds.patch
sched-reorder-struct-sched_rt_entity-to-remove-padding-on-64-bit-builds.patch
reorder-struct-prop_local_single-to-remove-padding-on-64-bit-builds.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