Re: [PATCH 0/2] [GIT PULL][v3.5] ring-buffer: Fixes for the changesin the last merge window

From: Ingo Molnar
Date: Fri Jul 06 2012 - 05:16:22 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Ingo,
>
> This patch series has a couple of fixes for bugs that snuck
> into the last merge window. The first is a crash that can
> happen because of an uninitialized list, and failing to
> allocate the requested amount. This can happen by changing the
> buffer_size_kb to a huge amount as the first change that is
> done to it after booting up (note, the bug does not happen if
> a successful change happens first).
>
> The second patch can cause the ring buffer accounting (which
> is used by the infrastructure of the ring buffer) to get out
> of sync. This happens if you fill the buffer and then remove a
> few pages from it while it is full.
>
> The fixes are pretty simple, and should go into the 3.5-rc.
>
> Please pull the latest tip/perf/urgent tree, which can be found at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
> tip/perf/urgent
>
> Head SHA1: 48fdc72f23ad9a9956e524a47843135d0bbc3317
>
>
> Vaibhav Nagarnaik (2):
> ring-buffer: Fix crash due to uninitialized new_pages list head
> ring-buffer: Fix accounting of entries when removing pages
>
> ----
> kernel/trace/ring_buffer.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Pulled, thanks!

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/