Skip to content
Commit ee643c41 authored by Richard Kennedy's avatar Richard Kennedy Committed by Ingo Molnar
Browse files

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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1299512819.2039.5.camel@castor.rsk>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent a0f7d0f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment