Messages in this thread | | | Date | Mon, 29 Sep 2008 20:03:07 -0400 | From | Mathieu Desnoyers <> | Subject | Re: [PATCH v10 Golden] Unified trace buffer |
| |
* Steven Rostedt (rostedt@goodmis.org) wrote: > > On Mon, 29 Sep 2008, Mathieu Desnoyers wrote: > > > * Steven Rostedt (rostedt@goodmis.org) wrote: > > > > You should have a look at mm/slob.c free_slob_page(). I think your page > > free will generate a "bad_page" call due to mapping != NULL and mapcount > > != 0. I just ran into this in my own code. :) > > > Hi Mathieu! > > Thanks! I must have been lucky some how not to trigger this :-/ >
My guess is that you never free your buffers in your test cases. I don't know if it was expected; probably not if your code is built into the kernel.
Mathieu
> I'll add an update patch for this. > > -- Steve >
-- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
| |