mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Use std::thread::available_parallelism() when sizing the prefault worker threads so the number of threads scales with the host CPU count instead of relying on unsafe sysconf. Fixes: #8495 Signed-off-by: Pulak Kanti Bhowmick <pkbhowmick007@gmail.com>