diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2024-09-30 19:44:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-30 19:44:27 +0200 |
commit | bcc6d1c1fce27de9d6d34cc21d37f7c3e5b9d40d (patch) | |
tree | 8cf27005219e89ad7db9bf1ceb366ef6ead26e17 /src/unix/fs.c | |
parent | 675a5a53960a3535b7061acd2fd9aa96aadd1b1b (diff) | |
download | libuv-bcc6d1c1fce27de9d6d34cc21d37f7c3e5b9d40d.tar.gz libuv-bcc6d1c1fce27de9d6d34cc21d37f7c3e5b9d40d.zip |
linux: use IORING_SETUP_NO_SQARRAY when available (#4553)
Introduced in Linux 6.6, it tells the kernel to omit the sqarray from
the ring buffer.
Libuv initalizes the array once to an identity mapping and then forgets
about it, so not only does it save a little memory (ca. 1 KiB per ring)
but it also makes things more efficient kernel-side because it removes
a level of indirection.
Diffstat (limited to 'src/unix/fs.c')
0 files changed, 0 insertions, 0 deletions