Messages in this thread | | | Date | Sun, 17 May 2015 09:30:08 +0200 | From | Ingo Molnar <> | Subject | Re: [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
| |