Re: [PATCH][RFC] vsprintf: unify the format decoding layer for its3 users

From: Ingo Molnar
Date: Fri Feb 27 2009 - 03:21:07 EST



* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Fri, 27 Feb 2009 07:19:37 +0100 Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
>
> > An new optimization is making its way to ftrace. Its purpose
> > is to make ftrace_printk() consuming less memory and be
> > faster.
> >
> > Written by Lai Jiangshan, the approach is to delay the
> > formatting job from tracing time to output time. Currently,
> > a call to ftrace_printk will format the whole string and
> > insert it into the ring buffer.
>
> It does that? eek.

hm, did you expect something else from a printf based interface?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/