From nobody Sat Jan 13 22:04:35 2024 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 4TCC9v65nBz56mYg for ; Sat, 13 Jan 2024 22:04:35 +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 4TCC9v3B2xz4TxX for ; Sat, 13 Jan 2024 22:04:35 +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=1705183475; 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=VTuoe8sCEtRrNpFoknVUZkLlUmGlGE9AIKtBsMgeKSs=; b=pkX2V9x/YBTZAbSN1xAubNecdeybuWB6DHCOpLmLxD+oWNkm1+7KwbDYlvfAfUH5BuOrxd SGidQLmO9BX3jULf96/tZGrrgVDu/ub7tPDrdIUZQXxAXOabzxisOFl8bkGffVxkVzz4Gd FMCFCU0OCKg5WBaBipkAzKa0Xz4nC4/rYzEbdRmO9hxgl2N7XLGh8Btj56V1m13PUqUIOZ TaIIj52gTS8Sjg5pQhmUMLxbNVm3ck2pCNkFekasOprAPrhpd1sAiXrwcV6T4WzlMH/625 neihSmz7prvv9OR9/qY9eejWVqtsQ+025YV2Gz4bpZRZYbCxHMRnfnUK9U2pyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705183475; a=rsa-sha256; cv=none; b=DTceIwX1w2GMNT8qTiXpCcgPWiQriICE7bgBEAKkpLq3VZQLBXJYSH2UJlEsfZKQHkbmlG lTWTNosLppUzmtS6BEtU00lyJwPTYKsurRoKov+tt+lzIHNh31YPQMKuz4wXGR+Geba9C7 niYCS2iBOJXW81hfntC+Ux9kixq1FriECIQ7Hd6m/s1/FHtvOxw0MNoKSNUuQNBtSVu/kw pVjIFK+3Ijjs4qgeJOp6BxRciT02quGBlFtQOGhCt4LqkJ56TSfZtgYnkArs7svED1WEaJ 9bLVfxyHgkq56qCw42UhGjEjw+KOQQtV1O4XJVxjfnzrcwkWzXGXmQ7hNyq5IA== 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 4TCC9v28VZzn6q for ; Sat, 13 Jan 2024 22:04:35 +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 40DM4Zpe048544 for ; Sat, 13 Jan 2024 22:04:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40DM4Zff048543 for bugs@FreeBSD.org; Sat, 13 Jan 2024 22:04:35 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 276057] crash in xa_destroy() while initializing the i915kms module Date: Sat, 13 Jan 2024 22:04:35 +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: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: donn@xmission.com 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276057 --- Comment #10 from Donn Seeley --- (In reply to Konstantin Belousov from comment #9) Got it, thanks. So it sounds to me like the only risk here is unloading the module when witnessing is enabled. In that case, I think the best approach is to keep the code that reinitializes the mutex, and add MTX_NOWITNESS to the mtx_init() flags in xa_init_flags(). Does that seem reasonable to you? --=20 You are receiving this mail because: You are the assignee for the bug.=