[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-28009ce4a8130af7260a9271901b4419834ad152@git.kernel.org>
Date: Fri, 1 Jul 2011 15:19:10 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:perf/core] perf: Remove 64-bit alignment padding from perf_event_context
Commit-ID: 28009ce4a8130af7260a9271901b4419834ad152
Gitweb: http://git.kernel.org/tip/28009ce4a8130af7260a9271901b4419834ad152
Author: Richard Kennedy <richard@....demon.co.uk>
AuthorDate: Tue, 7 Jun 2011 16:33:38 +0100
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Fri, 1 Jul 2011 11:06:32 +0200
perf: Remove 64-bit alignment padding from perf_event_context
Reorder perf_event_context to remove 8 bytes of 64 bit alignment padding
shrinking its size to 192 bytes, allowing it to fit into a smaller slab
and use one fewer cache lines.
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/1307460819.1950.5.camel@castor.rsk
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
include/linux/perf_event.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index e76a410..2f7b5d4 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -894,8 +894,8 @@ struct perf_event_context {
u64 parent_gen;
u64 generation;
int pin_count;
- struct rcu_head rcu_head;
int nr_cgroups; /* cgroup events present */
+ struct rcu_head rcu_head;
};
/*
--
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