]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64156af9196b524f208192437b3044246a8d6694
treeb43b5e38c33d69d39b5fb87860e5723d1be10416
parent62532e8ef7493da1cccb9f4f7fd5745091c17d4d
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