Skip to content

Commit

Permalink
ftrace: convert single large buffer into single pages.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent 5072c59 commit 4c11d7a
Show file tree
Hide file tree
Showing 2 changed files with 195 additions and 58 deletions.
Loading

0 comments on commit 4c11d7a

Please sign in to comment.