ftrace: convert single large buffer into single pages.
authorSteven Rostedt <srostedt@redhat.com>
Mon, 12 May 2008 19:20:43 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 18:38:51 +0000 (20:38 +0200)
commit4c11d7aed389375253b59e2b1865eec96663c65d
treeb43b5e38c33d69d39b5fb87860e5723d1be10416
parent5072c59fd45e9976d02ee6f18c7336ef97623cbc
ftrace: convert single large buffer into single pages.

Allocating large buffers for the tracer may fail easily.
This patch converts the buffer from a large ordered allocation
to single pages. It uses the struct page LRU field to link the
pages together.

Later patches may also implement dynamic increasing and decreasing
of the trace buffers.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace.c
kernel/trace/trace.h
This page took 0.036171 seconds and 5 git commands to generate.