From nobody Thu Dec 15 19:59:43 2022 X-Original-To: dev-commits-src-branches@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 4NY33h1mH0z4V8K1; Thu, 15 Dec 2022 19:59:44 +0000 (UTC) (envelope-from git@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 4NY33h1F40z4694; Thu, 15 Dec 2022 19:59:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671134384; 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=pqKa5iZ6TuEmecHovUQV2t2bYayAk9KdKlxMuswoxzo=; b=CwGRw4Y1V9cO4bhbch2N2EmWcfdlCau9cpBON31J20CBrnUOLByAVZXCSoWQjtRRk2hqgC /CaD4uQBhsI2xfTilX5RjBXIWZGpD12hRSJ1+4dBO+ltVDPYHKIBqxUPdq1SKQki8qC1cW +JZB4DufyTiJMUF+/0KaL+ct2GSTYoFuVQdfKm3PmNua0tZdbpzgouRSpjJWJ8AOsXWKSo 5i4OEZina4RXz38pMPG9hj3UGXZKseefZ+RWN7x+6Wtk+HUXZWcewBEFAAQN9VmeUWOfH8 zBhS94NXWg7U2v6gow3D+TVOTA5OJMck1RvjsHSQk2zyW0iS0vSeybwbF0Y+Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671134384; 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=pqKa5iZ6TuEmecHovUQV2t2bYayAk9KdKlxMuswoxzo=; b=OVYSTk3HDBcEh1pehJog56ofujJ9wrDXVCT5mYxiaptw1BNqmGSSr/d2F1/YZymYCCSuq2 d94edBddH5R7bAnXl0UfDKYGsh3YMKXf6IwTi823LjqWtuuNck9VCRj8WNhX8IHXNtxYQV kW91mjEL3FYbX8uVXgr6/0rXUobIXQXRYzo9trrtujY/CYZi4ZBjmcr6uoDg0CQ1yKbPUk ScoIrfI8M5p1oKvvSVHwdwlfUYlR6u9qszRcJmpj5cF9rRDsaTNtJbe6cs/3BAXGOiKKYn 2ndJABR9SZfaB4QIs+aaGjI+16O9u84Yc/SLcAwAeMDuf0LS+w8BEvkWYtO7vA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671134384; a=rsa-sha256; cv=none; b=AKEeGz/cHJv1FeLQHZ0gY1Y07FTpDUNR5zG4WmnQVuzaKS55fn7lHNAyMvr2gbhsYD+853 N7yil7K916FKPZGRF9NdquEP91/CUY+bi6P34OWpHPAabK7GP2efg+/bnv7u5i4fhqkgkG 5DLRXklYOFXvlLDTxMPZp1ha1XwhsODTgZ9nbkM46Blg6eHcQkYc/TfS4NU+4t+IoTrPNv bWPp5EYpB3IJaVOzD610bds0OQKebyp8RroIGp7vDqaA5HvHv4jf2nSjpWxLOCUZ7VL91L HRfTDkoz43g6PICrYZWfXdV/NAnqkHiWda6pyMSnttHo5YK70nOxBQt4a3X9cA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4NY33h062szlnt; Thu, 15 Dec 2022 19:59:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BFJxhsN014440; Thu, 15 Dec 2022 19:59:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BFJxhM3014439; Thu, 15 Dec 2022 19:59:43 GMT (envelope-from git) Date: Thu, 15 Dec 2022 19:59:43 GMT Message-Id: <202212151959.2BFJxhM3014439@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 58d39b1b7093 - stable/13 - bhyve: Disable thread safety analysis List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 58d39b1b7093ec84feb50996d565305bed700c39 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=58d39b1b7093ec84feb50996d565305bed700c39 commit 58d39b1b7093ec84feb50996d565305bed700c39 Author: Mark Johnston AuthorDate: 2022-11-18 19:04:19 +0000 Commit: Mark Johnston CommitDate: 2022-12-15 19:58:43 +0000 bhyve: Disable thread safety analysis The warnings that arise are bogus and have to be muted with __no_lock_analysis in most cases. As a step towards enabling the default warning level for bhyve, just disable them. Reviewed by: corvink, jhb MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D37295 (cherry picked from commit 1a8e52391be837bb2851065b4bad6c163db9edef) --- usr.sbin/bhyve/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile index f629ee8f6b79..5147bb6b71d9 100644 --- a/usr.sbin/bhyve/Makefile +++ b/usr.sbin/bhyve/Makefile @@ -133,5 +133,10 @@ CFLAGS+=-DGDB_LOG WARNS?= 2 +# Disable thread safety analysis since it only finds very simple bugs and +# yields many false positives. +NO_WTHREAD_SAFETY= + SUBDIR= kbdlayout + .include