mirror of
https://github.com/Zygo/bees.git
synced 2025-12-15 16:13:39 +01:00
perf blames the SEARCH_V2 ioctl wrapper for a lot of time spent in malloc.
Use a thread_local buffer for ioctl results, and reuse it between runs.
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
(cherry picked from commit e509210428)
30 KiB
30 KiB