[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0904232356400.24293@gandalf.stny.rr.com>
Date: Fri, 24 Apr 2009 00:27:01 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Lai Jiangshan <laijs@...fujitsu.com>
cc: Ingo Molnar <mingo@...e.hu>,
Frederic Weisbecker <fweisbec@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ring_buffer: compressed event header
On Fri, 24 Apr 2009, Lai Jiangshan wrote:
>
>
> RB_MAX_SMALL_DATA = 28bytes is too small for most tracers, it wastes
> an 'u32' to save the actually length for events which data size > 28.
>
> This fix uses compressed event header and enlarges RB_MAX_SMALL_DATA.
>
> Impact: saves about 0%-12.5%(depends on tracer) memory in ring_buffer
>
> Signed-off-by: Lai Jiangshan <laijs@...fujitsu.com>
Thanks, applied!
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists