+ fs-inode-remove-8-bytes-of-padding-on-64bits-allowing-1-more-objects-slab-under-slub.patch added to -mm tree

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

 



The patch titled
     fs: inode - remove 8 bytes of padding on 64bits allowing 1 more objects/slab under slub
has been added to the -mm tree.  Its filename is
     fs-inode-remove-8-bytes-of-padding-on-64bits-allowing-1-more-objects-slab-under-slub.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://userweb.kernel.org/~akpm/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: fs: inode - remove 8 bytes of padding on 64bits allowing 1 more objects/slab under slub
From: Richard Kennedy <richard@xxxxxxxxxxxxxxx>

This removes 8 bytes of padding from struct inode on 64bit builds, and so
allows 1 more object/slab in the inode_cache when using slub.

Signed-off-by: Richard Kennedy <richard@xxxxxxxxxxxxxxx>
Acked-by: Jan Kara <jack@xxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

diff -puN include/linux/fs.h~fs-inode-remove-8-bytes-of-padding-on-64bits-allowing-1-more-objects-slab-under-slub include/linux/fs.h
--- a/include/linux/fs.h~fs-inode-remove-8-bytes-of-padding-on-64bits-allowing-1-more-objects-slab-under-slub
+++ a/include/linux/fs.h
@@ -729,6 +729,7 @@ struct inode {
 	uid_t			i_uid;
 	gid_t			i_gid;
 	dev_t			i_rdev;
+	unsigned int		i_blkbits;
 	u64			i_version;
 	loff_t			i_size;
 #ifdef __NEED_I_SIZE_ORDERED
@@ -738,7 +739,6 @@ struct inode {
 	struct timespec		i_mtime;
 	struct timespec		i_ctime;
 	blkcnt_t		i_blocks;
-	unsigned int		i_blkbits;
 	unsigned short          i_bytes;
 	umode_t			i_mode;
 	spinlock_t		i_lock;	/* i_blocks, i_bytes, maybe i_size */
_

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

linux-next.patch
fs-buffer_head-remove-kmem_cache-constructor-to-reduce-memory-usage-under-slub.patch
cpuidle-menu-remove-8-bytes-of-padding-on-64-bit-builds.patch
fs-inode-remove-8-bytes-of-padding-on-64bits-allowing-1-more-objects-slab-under-slub.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