summaryrefslogtreecommitdiffstats
path: root/kernel/trace/tracing_map.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2021-04-01 22:40:32 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-04-01 22:56:47 +0200
commitceaaa12904df07d07ea8975abbf04c4d60e46956 (patch)
treeb04b3cd3a57af4d1eb370121572f3ded3665eed7 /kernel/trace/tracing_map.c
parentftrace: Store the order of pages allocated in ftrace_page (diff)
downloadlinux-ceaaa12904df07d07ea8975abbf04c4d60e46956.tar.xz
linux-ceaaa12904df07d07ea8975abbf04c4d60e46956.zip
ftrace: Simplify the calculation of page number for ftrace_page->records some more
Commit b40c6eabfcd40 ("ftrace: Simplify the calculation of page number for ftrace_page->records") simplified the calculation of the number of pages needed for each page group without having any empty pages, but it can be simplified even further. Link: https://lore.kernel.org/lkml/CAHk-=wjt9b7kxQ2J=aDNKbR1QBMB3Hiqb_hYcZbKsxGRSEb+gQ@mail.gmail.com/ Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/tracing_map.c')
0 files changed, 0 insertions, 0 deletions