diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-04 02:00:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 10:39:18 +0200 |
commit | 6f807acd27734197b11d42829d3cbb9c0937b572 (patch) | |
tree | 3587f14a894f05a607cc71fd1ee4e63a3eb3b679 /kernel/trace/trace_sched_switch.c | |
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>
Diffstat (limited to 'kernel/trace/trace_sched_switch.c')
0 files changed, 0 insertions, 0 deletions