diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2011-06-07 16:33:38 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-07-01 11:06:32 +0200 |
commit | 28009ce4a8130af7260a9271901b4419834ad152 (patch) | |
tree | d594a4cb1178fa634ce0594cc2f6ff5c284064a7 | |
parent | 4ec8363dfc1451f8c8f86825731fe712798ada02 (diff) | |
download | op-kernel-dev-28009ce4a8130af7260a9271901b4419834ad152.zip op-kernel-dev-28009ce4a8130af7260a9271901b4419834ad152.tar.gz |
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@rsk.demon.co.uk>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1307460819.1950.5.camel@castor.rsk
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | 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; }; /* |