[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1241966455.2724.11.camel@localhost.localdomain>
Date: Sun, 10 May 2009 15:40:55 +0100
From: Richard Kennedy <richard@....demon.co.uk>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Oleg Nesterov <oleg@...hat.com>,
lkml <linux-kernel@...r.kernel.org>,
linux-mm <linux-mm@...ck.org>
Subject: [PATCH] mm: exit.c reorder wait_opts to remove padding on 64 bit
builds
reorder struct wait_opts to remove 8 bytes of alignment padding on 64
bit builds
Signed-off-by: Richard Kennedy <richard@....demon.co.uk>
---
Hi Andrew,
Oleg asked me to send you this patch against your tree.
patch against latest mmotm.git.
successfully compiled but has had no other testing.
regards
Richard
diff --git a/kernel/exit.c b/kernel/exit.c
index 6e8c9fd..576e626 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1080,8 +1080,8 @@ SYSCALL_DEFINE1(exit_group, int, error_code)
struct wait_opts {
enum pid_type wo_type;
- struct pid *wo_pid;
int wo_flags;
+ struct pid *wo_pid;
struct siginfo __user *wo_info;
int __user *wo_stat;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists