Re: [PATCH 0/4] [GIT PULL] memory saving ring buffer fortip/tracing/ftrace

From: Neil Horman
Date: Thu Mar 12 2009 - 06:49:36 EST


On Thu, Mar 12, 2009 at 08:07:58AM +0100, Pierre Ossman wrote:
> On Wed, 11 Mar 2009 22:37:20 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > Ingo,
> >
> > This patch series implements a better memory management by the
> > ring buffer. It only allocates the buffers for the online CPUS, as well
> > as keeps the buffers to a minimum size until they are used.
> >
> > Please pull the latest tip/tracing/ftrace tree, which can be found at:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
> > tip/tracing/ftrace
> >
> >
> > Steven Rostedt (4):
> > tracing: keep ring buffer to minimum size till used
> > tracing: expand the ring buffers when an event is activated
> > tracing: fix trace_wait to know to wait on all cpus or just one
> > ring-buffer: only allocate buffers for online cpus
> >
>
> How difficult is it to apply this to 2.6.27? Fedora is still on that
> kernel and it would be nice if I could get my memory back on a
> distribution kernel. :)

I'm looking into it currently. I'll post a test kernel when I have something
for you.
Neil


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