From nobody Thu Mar 2 01:31:18 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PRtqB4TTCz3vdkH for ; Thu, 2 Mar 2023 01:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PRtqB3BQLz3v51 for ; Thu, 2 Mar 2023 01:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677720678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xORsW7c4zeOLIOSX2qYC6pNxMWP/XVF0Fi+BJARGJd8=; b=oMpxPCn+curnJ6BCovT3jyh1FsQuxAxqMyj9yx9gznTLrN3ddOVldguvezBMzTpLThwcIq sjs7OzxcJ7bgHqU+Hcdml81PI/frnvOby+ur+OHG5wbL921EYBPTkvRqUvcxpDOGMXJfOD Mpm8YDg54+rLQBzZTV9P+1SGwmfvsZdgUa1ZGcDDmjFAdbZFkem437Ixy6Zao2mYHA405m So0v9swNzTWX+80ZcgBTdNRoyYG5Gc4eAkCjVXREOod4Ktx/Gz6hANnT0AaGGDOl40CAvd xpz+UohFsaYsG/p2UGqzIUcuKTBt5mJE2YfZYZ9vGBGCb8ZP8NEhCG7yBAxXrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677720678; a=rsa-sha256; cv=none; b=HTBKHEOdK+F0vNuMYAArxBYpiqGwBuTqiBsfcleKrc+/cGsI4fO/dP6Wjn224fMzdkJ+VC 8pEl6Wg90lKB4gHSiux+cMl6sCr6RqsVHI8Kvco3ERj6gS7aSTndiO7CHnhVFo3fESdsVi LCa57AbkIZnoDYqHFWg8MYAaThaFDiweRiS0K1wEGykj4CLdys9+9xBrw4cgRsVJExRce2 gwN3Ape/K7XLufnsgosvshPlK9oGXMW8rJlfKcEGEFCQ1+va2KfPfE7BtsIJEAYxYfrm3a +Jc7RjcJ2tx+biPXzosSo0quB4bVMxDd8lWOAeEi5cj4n1tF78MVfDNzVLcTBQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PRtqB2HH3zx71 for ; Thu, 2 Mar 2023 01:31:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3221VIQa017613 for ; Thu, 2 Mar 2023 01:31:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3221VIA8017612 for bugs@FreeBSD.org; Thu, 2 Mar 2023 01:31:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269823] rand_harvest produces 100%CPU on 1 CPU with virtio_random.ko loaded Date: Thu, 02 Mar 2023 01:31:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@igalic.co X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269823 --- Comment #6 from Mina Gali=C4=87 --- 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 the assignee for the bug.=