diff options
author | Thomas Gleixner <[email protected]> | 2010-11-30 17:49:55 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-11-30 20:05:25 -0200 |
commit | 5c891f3840a7a330c96d7203d4bb5be6fa033724 (patch) | |
tree | bf8fdacde9410f396e382eebfdb924be479e8d7e /net/unix/af_unix.c | |
parent | 020bb75a6deeca5ebeae531dc7378c157affc8fd (diff) |
perf session: Allocate chunks of sample objects
The ordered sample code allocates singular reference objects struct
sample_queue which have 48byte size on 64bit and 20 bytes on 32bit. That's
silly. Allocate ~64k sized chunks and hand them out.
Performance gain: ~ 15%
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions