Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146049
b: refs/heads/master
c: 3554228
h: refs/heads/master
i:
  146047: f3b31ea
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Apr 21, 2009
1 parent 6290245 commit 8c12d6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f66578a7637b87810cbb9041c4e3a77fd2fa4706
refs/heads/master: 3554228d4289098a8fe5cfd87512ec32a19bbe5a
3 changes: 2 additions & 1 deletion trunk/kernel/trace/ring_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,8 @@ __rb_reserve_next(struct ring_buffer_per_cpu *cpu_buffer,
* about it.
*/
if (unlikely(next_page == commit_page)) {
WARN_ON_ONCE(1);
/* This can easily happen on small ring buffers */
WARN_ON_ONCE(buffer->pages > 2);
goto out_reset;
}

Expand Down

0 comments on commit 8c12d6f

Please sign in to comment.