[PATCH] sched: reorder struct sched_rt_entity to remove padding on64 bit builds

From: Richard Kennedy
Date: Fri Aug 01 2008 - 08:24:29 EST


remove 8 bytes of padding on 64 bit builds
(also removes 8 bytes from task_struct)

Signed-off-by: Richard Kennedy <richard@xxxxxxxxxxxxxxx>
---
patch against 2.6.27-rc1
compiled & tested on AMD64 desktop

Richard

include/linux/sched.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5270d44..3f18cd2 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1009,8 +1009,8 @@ struct sched_entity {

struct sched_rt_entity {
struct list_head run_list;
- unsigned int time_slice;
unsigned long timeout;
+ unsigned int time_slice;
int nr_cpus_allowed;

struct sched_rt_entity *back;
--
1.5.5.1



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/