aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2024-06-28 11:46:11 +0100
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-08-26 13:42:23 -0400
commiteb2dcde9f970ed8d3669444d47c8524b4bdf7d32 (patch)
treefce2721f068acd2461f8d315c4c2406383348a56 /tools/perf/scripts/python/net_dropmonitor.py
parentd0f2d6e9512ecf4306c4432761f04bd35cf9e3a6 (diff)
ring-buffer: Align meta-page to sub-buffers for improved TLB usage
Previously, the mapped ring-buffer layout caused misalignment between the meta-page and sub-buffers when the sub-buffer size was not a multiple of PAGE_SIZE. This prevented hardware with larger TLB entries from utilizing them effectively. Add a padding with the zero-page between the meta-page and sub-buffers. Also update the ring-buffer map_test to verify that padding. Link: https://lore.kernel.org/20240628104611.1443542-1-vdonnefort@google.com Signed-off-by: Vincent Donnefort <vdonnefort@google.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions