git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778c55d
)
ring-buffer: have read page swap increment counter with page entries
author
Steven Rostedt
<srostedt@redhat.com>
Fri, 1 May 2009 23:40:05 +0000
(19:40 -0400)
committer
Steven Rostedt
<rostedt@goodmis.org>
Tue, 5 May 2009 20:58:24 +0000
(16:58 -0400)
In the swap page ring buffer code that is used by the ftrace splice code,
we scan the page to increment the counter of entries read.
With the number of entries already in the page we simply need to add it.
[ Impact: speed up reading page from ring buffer ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
No differences found