Received: by mail.netbsd.org (Postfix, from userid 605) id 6AAC284E93; Sun, 13 Feb 2022 19:20:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9FC6684E84 for ; Sun, 13 Feb 2022 19:20:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 6hqabiLtmRzl for ; Sun, 13 Feb 2022 19:20:33 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 413EF84CE8 for ; Sun, 13 Feb 2022 19:20:33 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3E765FB24; Sun, 13 Feb 2022 19:20:33 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 13 Feb 2022 19:20:33 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220213192033.3E765FB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Sun Feb 13 19:20:33 UTC 2022 Modified Files: src/sys/kern: subr_thmap.c Log Message: thmap(9): Omit needless fences and use membar_exit for release fence. It is the caller's responsibility to arrange that thmap_create, and, if THMAP_SETROOT is set, thmap_root, happen before any use of the thmap. No need for them to issue fences internally. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/kern/subr_thmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.