[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120629213545.533870841@goodmis.org>
Date: Fri, 29 Jun 2012 17:35:45 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Vaibhav Nagarnaik <vnagarnaik@...gle.com>
Subject: [PATCH 0/2] [GIT PULL][v3.5] ring-buffer: Fixes for the changes in the last merge window
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(-)
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists