commit | a79008755497daff157f5294c02e3b940641cc11 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Fri Dec 16 16:23:44 2011 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Wed Dec 21 07:18:30 2011 -0500 |
tree | 941e16ae559cbe82f371d07c09b03642bb6e83dd | |
parent | 3208230983a0ee3d95be22d463257e530c684956 [diff] |
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>