mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched: reorder struct sched_rt_entity to remove padding on 64 bit builds
@ 2008-08-01 12:24 Richard Kennedy
  0 siblings, 0 replies; only message in thread
From: Richard Kennedy @ 2008-08-01 12:24 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: lkml

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

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
---
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




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

only message in thread, other threads:[~2008-08-01 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-01 12:24 [PATCH] sched: reorder struct sched_rt_entity to remove padding on 64 bit builds Richard Kennedy

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

all inboxes | Powered by JetHome®