[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-26a148eb9c790149750f7e77da0d96029443d400@git.kernel.org>
Date: Thu, 21 Jul 2011 18:30:39 GMT
From: tip-bot for Richard Kennedy <richard@....demon.co.uk>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
a.p.zijlstra@...llo.nl, richard@....demon.co.uk,
tglx@...utronix.de, mingo@...e.hu
Subject: [tip:sched/core] sched: Reorder root_domain to remove 64 bit alignment padding
Commit-ID: 26a148eb9c790149750f7e77da0d96029443d400
Gitweb: http://git.kernel.org/tip/26a148eb9c790149750f7e77da0d96029443d400
Author: Richard Kennedy <richard@....demon.co.uk>
AuthorDate: Fri, 15 Jul 2011 11:41:31 +0100
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Thu, 21 Jul 2011 18:01:52 +0200
sched: Reorder root_domain to remove 64 bit alignment padding
Reorder root_domain to remove 8 bytes of alignment padding on 64 bit
builds, this shrinks the size from 1736 to 1728 bytes, therefore using
one fewer cachelines.
Signed-off-by: Richard Kennedy <richard@....demon.co.uk>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Link: http://lkml.kernel.org/r/1310726492.1977.5.camel@castor.rsk
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/sched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index f107204..e3f0bac 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -422,6 +422,7 @@ struct rt_rq {
*/
struct root_domain {
atomic_t refcount;
+ atomic_t rto_count;
struct rcu_head rcu;
cpumask_var_t span;
cpumask_var_t online;
@@ -431,7 +432,6 @@ struct root_domain {
* one runnable RT task.
*/
cpumask_var_t rto_mask;
- atomic_t rto_count;
struct cpupri cpupri;
};
--
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