mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Collect up to 32 completions per io_getevents call instead of one at a time, buffering them in the existing VecDeque. This reduces syscalls from 128 to 4 per drain cycle at the default queue depth. The stack cost is 1 KB per call. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>