Re: [PATCH] ring_buffer: allocate buffer page pointer

From: Ingo Molnar
Date: Thu Oct 02 2008 - 04:54:33 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

>
> The current method of overlaying the page frame as the buffer page pointer
> can be very dangerous and limits our ability to do other things with
> a page from the buffer, like send it off to disk.
>
> This patch allocates the buffer_page instead of overlaying the page's
> page frame. The use of the buffer_page has hardly changed due to this.
>
> Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>
> ---
> kernel/trace/ring_buffer.c | 54 ++++++++++++++++++++++++++-------------------
> 1 file changed, 32 insertions(+), 22 deletions(-)

applied to tip/tracing/ftrace, with the extended changlog below - i
think this commit warrants that extra mention.

Ingo

--------------->