Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28009ce4 authored by Richard Kennedy's avatar Richard Kennedy Committed by Ingo Molnar
Browse files

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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1307460819.1950.5.camel@castor.rsk


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 4ec8363d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
};

/*