diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-04-01 16:14:17 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-04-01 16:55:45 -0400 |
commit | db42523b4f3e83ff86b53cdda219a9767c8b047f (patch) | |
tree | d25a2e1fa08be42771eff39ed4a49f423002dc6d /kernel/trace/trace_output.c | |
parent | f3ef7202ef7c705d640d1aeec3b286a641ac9186 (diff) | |
download | linux-db42523b4f3e83ff86b53cdda219a9767c8b047f.tar.gz linux-db42523b4f3e83ff86b53cdda219a9767c8b047f.tar.bz2 linux-db42523b4f3e83ff86b53cdda219a9767c8b047f.zip |
ftrace: Store the order of pages allocated in ftrace_page
Instead of saving the size of the records field of the ftrace_page, store
the order it uses to allocate the pages, as that is what is needed to know
in order to free the pages. This simplifies the code.
Link: https://lore.kernel.org/lkml/CAHk-=whyMxheOqXAORt9a7JK9gc9eHTgCJ55Pgs4p=X3RrQubQ@mail.gmail.com/
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[ change log written by Steven Rostedt ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_output.c')
0 files changed, 0 insertions, 0 deletions