lkml.org 
[lkml]   [2008]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/5] kmemtrace: SLUB hooks.
Frank Ch. Eigler wrote:
> Christoph Lameter <cl@linux-foundation.org> writes:
>
>> [...]
>>> There should be no extra function calls when this is configured on but
>>> tracing disabled. We try very hard to keep the speed of the tracer as
>>> close to a non tracing kernel as possible when tracing is disabled.
>> Makes sense. But then we have even more code bloat because of the
>> tests that are inserted in all call sites of kmalloc.
>
> Are you talking about the tests that implement checking whether a
> marker is active or not? Those checks are already efficient, and will
> get more so with the "immediate values" optimization in or near the
> tree.

AFAICT: Each test also adds an out of line call to the tracing facility.


\
 
 \ /
  Last update: 2008-08-11 17:53    [W:0.092 / U:2.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site