Skip to content
Commit a65d634e authored by Frank A. Cancio Bello's avatar Frank A. Cancio Bello Committed by Jonathan Corbet
Browse files

docs: ftrace: Clarify the RAM impact of buffer_size_kb



The current text could mislead the user into believing that the number
of pages allocated by each CPU ring buffer is calculated by the round
up of the division: buffer_size_kb / PAGE_SIZE.

Clarifies that a few extra pages may be allocated to accommodate buffer
management meta-data.

Suggested-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Suggested-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
Reviewed-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: default avatarFrank A. Cancio Bello <frank@generalsoftwareinc.com>
Link: https://lore.kernel.org/r/6f33be5f3d60e5ffc061d8d2b329d3d3ccf22a8c.1577231751.git.frank@generalsoftwareinc.com


Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 6f7f8ef7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment