]> Pileus Git - ~andy/linux/commit
ftrace: Allocate the mcount record pages as groups
authorSteven Rostedt <srostedt@redhat.com>
Fri, 16 Dec 2011 21:23:44 +0000 (16:23 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 21 Dec 2011 12:18:30 +0000 (07:18 -0500)
commita79008755497daff157f5294c02e3b940641cc11
tree941e16ae559cbe82f371d07c09b03642bb6e83dd
parent3208230983a0ee3d95be22d463257e530c684956
ftrace: Allocate the mcount record pages as groups

Allocate the mcount record pages as a group of pages as big
as can be allocated and waste no more than a single page.

Grouping the mcount pages as much as possible helps with cache
locality, as we do not need to redirect with descriptors as we
cross from page to page. It also allows us to do more with the
records later on (sort them with bigger benefits).

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