commit | 6f807acd27734197b11d42829d3cbb9c0937b572 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <rostedt@goodmis.org> | Sat Oct 04 02:00:58 2008 -0400 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Oct 14 10:39:18 2008 +0200 |
tree | 3587f14a894f05a607cc71fd1ee4e63a3eb3b679 | |
parent | 097d036a2f25eecc42435c57e010aaf4a2eed2d9 [diff] |
ring-buffer: move page indexes into page headers Remove the global head and tail indexes and move them into the page header. Each page will now keep track of where the last write and read was made. We also rename the head and tail to read and write for better clarification. This patch is needed for future enhancements to move the ring buffer to a lockless solution. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>