From: Steven Rostedt Date: Fri, 1 May 2009 23:40:05 +0000 (-0400) Subject: ring-buffer: have read page swap increment counter with page entries X-Git-Tag: v2.6.31-rc1~401^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afbab76a62b69ea6197e19727d4b8a8aef8deb25;p=pandora-kernel.git ring-buffer: have read page swap increment counter with page entries 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 --- Reading git-diff-tree failed