From: akpm@linux-foundation.org
To: mm-commits@vger.kernel.org
Cc: richard@rsk.demon.co.uk, bfields@fieldses.org
Subject: + file-lock-reorder-struct-file_lock-to-save-space-on-64-bit-builds.patch added to -mm tree
Date: Fri, 11 Jul 2008 17:20:49 -0700 [thread overview]
Message-ID: <200807120020.m6C0KnBx012130@imap1.linux-foundation.org> (raw)
The patch titled
file lock: reorder struct file_lock to save space on 64 bit builds
has been added to the -mm tree. Its filename is
file-lock-reorder-struct-file_lock-to-save-space-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: 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
next reply other threads:[~2008-07-12 0:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-12 0:20 akpm [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200807120020.m6C0KnBx012130@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=bfields@fieldses.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=richard@rsk.demon.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.