Received: by mail.netbsd.org (Postfix, from userid 605) id 50825853E8; Sun, 19 Dec 2021 12:09:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5A6D885029 for ; Sun, 19 Dec 2021 12:03:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Ab7gliNLcwj0 for ; Sun, 19 Dec 2021 12:03:49 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E98A985022 for ; Sun, 19 Dec 2021 12:03:48 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E7A1EFAEC; Sun, 19 Dec 2021 12:03:48 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 19 Dec 2021 12:03:48 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/external/bsd/drm2/dist/drm/i915 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20211219120348.E7A1EFAEC@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 Dec 19 12:03:48 UTC 2021 Modified Files: src/sys/external/bsd/drm2/dist/drm/i915: i915_request.c Log Message: i915: Defer i915_sw_fence_fini to `kmem' (pool) cache destructor. We actually need to destroy the spin lock here, whereas in Linux this is only used for tracking when sw fences are _technically_ in use or not -- where `not in use' includes RCU grace periods -- and it's OK to `destroy' a fence while the grace periods are still running. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 \ src/sys/external/bsd/drm2/dist/drm/i915/i915_request.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.