Messages in this thread | | | Date | Fri, 26 Sep 2008 06:47:27 -0400 (EDT) | From | Steven Rostedt <> | Subject | Re: [RFC PATCH v4] Unified trace buffer |
| |
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
| |