lkml.org 
[lkml]   [2015]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:x86/asm] x86: Pack function addresses tightly as well

* Ingo Molnar <mingo@kernel.org> wrote:

> The median function size is around 1 cacheline (64-byte one), ~80%
> fitting into two cachelines, with a big peak for very small
> functions that make up something like 20% of all functions [...]

Correction:

32% of kernel functions fit into a single cacheline,
55% fit into two cachelines,
70% into three cachelines,
76% into four cachelines

so the tail is longer than my quick read of the graph suggested.

OTOH, probability of use is biased towards smaller functions: we tend
to use smaller, facility functions more frequently.

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-05-17 09:41    [W:0.226 / U:1.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site