Re: [PATCH] ring_buffer: compressed event header

From: Steven Rostedt
Date: Fri Apr 24 2009 - 00:27:19 EST



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@xxxxxxxxxxxxxx>

Thanks, applied!

-- Steve

--
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/