tracing: allocate page when needed
authorLai Jiangshan <laijs@cn.fujitsu.com>
Thu, 2 Apr 2009 07:16:59 +0000 (15:16 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Apr 2009 10:44:43 +0000 (12:44 +0200)
commitddd538f3e6a1a4bec2f6942f83a753263e6577b4
treeb28047205b75d7e06ecf3eb0aca08c056ed4f51c
parentd1e7e02f30be672c6f6ee40908be83877a0d49d1
tracing: allocate page when needed

Impact: Cleanup

Sometimes, we open trace_pipe_raw, but we don't read(2) it,
we just splice(2) it, thus, the page is not used.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <srostedt@redhat.com>
LKML-Reference: <49D4666B.4010608@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c