]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ring_buffer: allocate buffer page pointer
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 1 Oct 2008 15:14:54 +0000 (11:14 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:08 +0000 (10:39 +0200)
commite4c2ce82ca2710e17cb4df8eb2b249fa2eb5af30
tree186a96aa4cace7fe51ede64c8b4f426a5007f007
parent7104f300c5a69b46dda00d898034dd05c9f21739
ring_buffer: allocate buffer page pointer

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@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ring_buffer.c