public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: + file-lock-reorder-struct-file_lock-to-save-space-on-64-bit-builds.pa tch added to -mm tree
       [not found] <200807120020.m6C0KnBx012130@imap1.linux-foundation.org>
@ 2008-07-13 21:32 ` J. Bruce Fields
  0 siblings, 0 replies; only message in thread
From: J. Bruce Fields @ 2008-07-13 21:32 UTC (permalink / raw)
  To: richard; +Cc: linux-kernel, akpm

Thanks, applied to my queue of nfsd and locks stuff for 2.6.27 at:

	git://linux-nfs.org/~bfields/linux.git for-2.6.27

--b.

On Fri, Jul 11, 2008 at 05:20:49PM -0700, akpm@linux-foundation.org wrote:
> Subject: file lock: reorder struct file_lock to save space on 64 bit builds
> From: Richard Kennedy <richard@rsk.demon.co.uk>
> 
> Reduce sizeof struct file_lock by 8 on 64 bit builds allowing +1 objects
> per slab in the file_lock_cache
> 
> Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
> Cc: "J. Bruce Fields" <bfields@fieldses.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  include/linux/fs.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff -puN include/linux/fs.h~file-lock-reorder-struct-file_lock-to-save-space-on-64-bit-builds include/linux/fs.h
> --- a/include/linux/fs.h~file-lock-reorder-struct-file_lock-to-save-space-on-64-bit-builds
> +++ a/include/linux/fs.h
> @@ -952,12 +952,12 @@ struct file_lock {
>  	struct list_head fl_link;	/* doubly linked list of all locks */
>  	struct list_head fl_block;	/* circular list of blocked processes */
>  	fl_owner_t fl_owner;
> +	unsigned char fl_flags;
> +	unsigned char fl_type;
>  	unsigned int fl_pid;
>  	struct pid *fl_nspid;
>  	wait_queue_head_t fl_wait;
>  	struct file *fl_file;
> -	unsigned char fl_flags;
> -	unsigned char fl_type;
>  	loff_t fl_start;
>  	loff_t fl_end;
>  
> _
> 
> Patches currently in -mm which might be from richard@rsk.demon.co.uk are
> 
> linux-next.patch
> shrink-struct-pid-by-removing-padding-on-64-bit-builds.patch
> file-lock-reorder-struct-file_lock-to-save-space-on-64-bit-builds.patch
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-13 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200807120020.m6C0KnBx012130@imap1.linux-foundation.org>
2008-07-13 21:32 ` + file-lock-reorder-struct-file_lock-to-save-space-on-64-bit-builds.pa tch added to -mm tree J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox