Received: by mail.netbsd.org (Postfix, from userid 605) id 344B584EF2; Tue, 15 Feb 2022 22:51:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5E63F84EEB for ; Tue, 15 Feb 2022 22:51:04 +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 BQKCEb6uOsP2 for ; Tue, 15 Feb 2022 22:51:04 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id F268C84C13 for ; Tue, 15 Feb 2022 22:51:03 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EB76DFB24; Tue, 15 Feb 2022 22:51:03 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 15 Feb 2022 22:51:03 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/external/bsd/drm2/linux To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220215225103.EB76DFB24@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: Tue Feb 15 22:51:03 UTC 2022 Modified Files: src/sys/external/bsd/drm2/linux: linux_dma_resv.c Log Message: drm: Use KM_SLEEP to allocate reservation fence arrays. Except as a fast path in an RCU reader. The array sizes appear to be reasonably small and not trivially controlled by userland, from what I can tell, so if my impression is accurate, it is reasonable to sleep for allocation here. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/external/bsd/drm2/linux/linux_dma_resv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.