]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: fix ref count in splice pages
authorSteven Rostedt <srostedt@redhat.com>
Wed, 29 Apr 2009 04:16:21 +0000 (00:16 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 29 Apr 2009 04:16:21 +0000 (00:16 -0400)
commit0f75a0e20d627c1d3602924048f2fda5224881ee
tree8d3e4bb6cc11387197cbd10518201b375cd84fce
parent892522eff17802accffcd4ee9b65d2eeb40b393d
tracing: fix ref count in splice pages

The pages allocated for the splice binary buffer did not initialize
the ref count correctly. This caused pages not to be freed and causes
a drastic memory leak.

Thanks to logdev I was able to trace the tracer to find where the leak
was.

[ Impact: stop memory leak when using splice ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c