Re: [RFC PATCH v4] Unified trace buffer

From: Steven Rostedt
Date: Fri Sep 26 2008 - 06:47:39 EST



On Fri, 26 Sep 2008, Peter Zijlstra wrote:
> >
> > You could also fallback on a 2-level page array when buffer size is >
> > 64MB. The cost is mainly a supplementary pointer dereference, but one
> > more should not make sure a big difference overall.
>
> I'm still not sure why we don't just link the pages using the page
> frames, we don't need the random access, do we?


Hmm, but this does make changing the buffer size much easier. I'll think
about it and perhaps try it out. If I can tidy it up nicer than the
ftrace code, then I may include it for v1.

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