From nobody Tue Jun 13 16:45:54 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 4QgZDy3Q5rz4dRRk for ; Tue, 13 Jun 2023 16:45:54 +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 4QgZDy0sDxz4Q5j for ; Tue, 13 Jun 2023 16:45:54 +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=1686674754; 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; bh=bsKaODztZbHhFYlFm/ji6GI5pgK/Ky5+2RHL9weo3l0=; b=HWC9aZO08+ewgju0rky+ws7LyHaI3qKuWGhtw7lt5iXdrzDs3C5mBKtYHPFliQVQbCnKEt l1NDEqb1rezuS4GAkOXoGeWP7FVM8tlQ1PDZdtZtZ0APogB5foN/hgEBxVJK+phEj8qFGm v18XCg+AjwfWP5IHDwzl9vKbJARB7x76Us2OWht5cbzuyR5nV6QIyEJUjO94m/mbqAo687 XK9b4eCuopG3ONcOZ1IVApaZuQOwVDnYCV9VmpbjERbZPA4C/7wcRV1DsaEWjopkMbkSps Vxuxk+uV5/f89/Xm2sZpRt4ue1WL6g9zKAJg4DnAfbtSp6VrIAjpTjQRvqD6+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686674754; a=rsa-sha256; cv=none; b=OxWiPDMIqkNCg3qPNZPIdyQMCs2EJbkw4E8+jj2EC9fPUwgqxawO18j5djyyxujpH4PBKO Ml5LcdiZxHAOZotd8PZNTTDpQALRfxAczUZdVUSU2+04aZxNPMUysomUQqSjTMN6FxpUZm 2DG1Ci1aRiT3OyHm5/FzQM12ph3XI/j/68hTmVVhleFBrhXeQYpNHBqL397IV1xOB9Qm/i DqPedO4siSso3/luALWjKNdVMiVYhOPSOYLTqhtorLG5h1Pr8vZ+VMefoFWRtxrmiQkK4G qII7edZgBQDU0YW4UBkF5eFrRXVfHRWPWNPSoQnhI/6PZSaNhO0JFB/Q+t9+XA== 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 4QgZDx73MLzVDv for ; Tue, 13 Jun 2023 16:45:53 +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 35DGjr8t008768 for ; Tue, 13 Jun 2023 16:45:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35DGjrXZ008766 for bugs@FreeBSD.org; Tue, 13 Jun 2023 16:45:53 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 271983] mi_switch hang in KVM on Sapphire Rapids running NET_EPOCH_DRAIN_CALLBACKS Date: Tue, 13 Jun 2023 16:45:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: rcm@rcm.sh X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=3D271983 Bug ID: 271983 Summary: mi_switch hang in KVM on Sapphire Rapids running NET_EPOCH_DRAIN_CALLBACKS Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: rcm@rcm.sh I am seeing a strange issue running CURRENT on KVM on Sapphire Rapids. If I create an interface like `ifconfig wg create` and then destroy the interface via `ifconfig wg0 destroy`, the process hangs deep within the ker= nel. load: 1.55 cmd: ifconfig 2277 [runnable] 31.14r 0.00u 0.00s 0% 3276k mi_switch+0x175 sched_bind+0xbc epoch_drain_callbacks+0x179 wg_clone_destroy+0x25c if_clone_destroyif_flags+0x69 if_clone_destroy+0xff ifioctl+0x8d3 kern_ioctl+0x1fe sys_ioctl+0x154 amd64_syscall+0x140 fast_syscall_common+0xf8 --=20 You are receiving this mail because: You are the assignee for the bug.=