Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2023 01:31:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 269823] rand_harvest produces 100%CPU on 1 CPU with virtio_random.ko loaded
Message-ID:  <bug-269823-27103-iKtPEsSuDb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269823-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269823-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269823

--- Comment #6 from Mina Gali=C4=87 <freebsd@igalic.co> ---
n.b.: virtio_random is the only call-site of virtqueue_poll() that passes
something other than NULL to the *len parameter:

sys/dev/virtio/console/virtio_console.c
988:            virtqueue_poll(vq, NULL);
1382:           virtqueue_poll(vq, NULL);

sys/dev/virtio/random/virtio_random.c
288:    virtqueue_poll(vq, &rdlen);

sys/dev/virtio/block/virtio_blk.c
1442:   virtqueue_poll(vq, NULL);

sys/dev/virtio/network/if_vtnet.c
3526:           virtqueue_poll(vq, NULL);

tho i don't see how that would influence it.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269823-27103-iKtPEsSuDb>