OSDN Git Service

perf: Remove 64-bit alignment padding from perf_event_context
authorRichard Kennedy <richard@rsk.demon.co.uk>
Tue, 7 Jun 2011 15:33:38 +0000 (16:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Jul 2011 09:06:32 +0000 (11:06 +0200)
commit28009ce4a8130af7260a9271901b4419834ad152
treed594a4cb1178fa634ce0594cc2f6ff5c284064a7
parent4ec8363dfc1451f8c8f86825731fe712798ada02
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>
include/linux/perf_event.h