Re: [Bug #11996] Tracing framework regression in 2.6.28-rc3

From: Ingo Molnar
Date: Sun Nov 23 2008 - 08:15:22 EST



* Pekka Paalanen <pq@xxxxxx> wrote:

> On Sat, 22 Nov 2008 21:28:17 +0100 (CET)
> "Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
>
> > This message has been generated automatically as a part of a report
> > of recent regressions.
> >
> > The following bug entry is on the current list of known regressions
> > from 2.6.27. Please verify if it still should be listed and let me know
> > (either way).
> >
> >
> > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11996
> > Subject : Tracing framework regression in 2.6.28-rc3
> > Submitter : Pekka Paalanen <pq@xxxxxx>
> > Date : 2008-11-09 10:13 (14 days old)
> > References : http://marc.info/?l=linux-kernel&m=122624392229317&w=4
> > Handled-By : Steven Rostedt <rostedt@xxxxxxxxxxx>
>
> Tested 2.6.28-rc6, this bug is fixed.

via:

commit ee51a1de7e3837577412be269e0100038068e691
Author: Ingo Molnar <mingo@xxxxxxx>
Date: Thu Nov 13 14:58:31 2008 +0100

tracing: fix mmiotrace resizing crash

Pekka reported a crash when resizing the mmiotrace tracer (if only
mmiotrace is enabled).

This happens because in that case we do not allocate the max buffer,
but we try to use it.

Make ring_buffer_resize() idempotent against NULL buffers.

Reported-by: Pekka Paalanen <pq@xxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

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