summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2025-03-04 00:04:08 +0100
committerChristian Brauner <brauner@kernel.org>2025-03-04 09:46:07 +0100
commit46af8e2406c27cc2f21094983697ff872102065f (patch)
treeecbf7233cedd550ffbb53f101214c8b222069539 /tools/perf/scripts/python/export-to-postgresql.py
parenta40cd5849dab4906f54f27e28561bd9298455bcf (diff)
pipe: cache 2 pages instead of 1
User data is kept in a circular buffer backed by pages allocated as needed. Only having space for one spare is still prone to having to resort to allocation / freeing. In my testing this decreases page allocs by 60% during a kernel build. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://lore.kernel.org/r/20250303230409.452687-3-mjguzik@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions