commit | 5a50e33cc916f6a81cb96f0f24f6a88c9ab78b79 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Tue Nov 17 08:43:01 2009 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Nov 17 08:43:01 2009 -0500 |
tree | cc00c32414107ade5492be200fcb1bc882968cae | |
parent | 8b2a5dac7859dd1954095fce8b6445c3ceb36ef6 [diff] |
ring-buffer: Move access to commit_page up into function used With the change of the way we process commits. Where a commit only happens at the outer most level, and that we don't need to worry about a commit ending after the rb_start_commit() has been called, the code use to grab the commit page before the tail page to prevent a possible race. But this race no longer exists with the rb_start_commit() rb_end_commit() interface. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>