]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Reorder & optimize perf_event_context to remove alignment padding on 64 bit...
authorRichard Kennedy <richard@rsk.demon.co.uk>
Mon, 7 Mar 2011 15:46:59 +0000 (15:46 +0000)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Mar 2011 13:04:14 +0000 (14:04 +0100)
commitc7b0df19388b813dff0c87051f3292594ccccef8
tree2245e9a6b660f18ceebd9c7accace71d760ff862
parent17b389ac81c1fa1cb4fcb734a1411ac7463ff9e1
perf: Reorder & optimize perf_event_context to remove alignment padding on 64 bit builds

Remove 8 bytes of alignment padding from perf_event_context on 64 bit
builds which shrinks its size to 192 bytes allowing it to fit into one
fewer cache lines and into a smaller slab.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1299512819.2039.5.camel@castor.rsk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_event.h