From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0FD44E9E2E2 for ; Wed, 11 Feb 2026 11:19:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E9AE10E048; Wed, 11 Feb 2026 11:19:11 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Z7nIuy2K"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id B2E9510E048 for ; Wed, 11 Feb 2026 11:19:09 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 66BDA4428A; Wed, 11 Feb 2026 11:19:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC1F1C4CEF7; Wed, 11 Feb 2026 11:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770808749; bh=qtxCyNgeZ05m263Dy1FBKMUpBgiseOelYdUHJ0n9q+E=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=Z7nIuy2KkHqyMoZsjQDn6ZqCnVTuhrUg1n9YyzSb1ldWM4yhzC07HCnYNs5fcxvY1 df5ybHPo9ITgImZlKzYjMQ8VHat7snd5Q0hXrHPZhoxVQtU3MHPi4cyLqjqJ/St2wr v+SqApBISXsTyjZLRq7XdwVowfIwW6j7WSBnnYJUgUymTXVtUJH0OkOAG5oUYWFecq 2fOI3gp3JQRJAqQhk52BNp/lW1+R66aETitjVi9+BaqM5Fe23RUVfB1DQYUSmO8lZO rLrM+TTBSl3niNLIXHZmkVAXsKZ7ay39IdFtkTiDaawy0ZJ1syuCi2oWOO00u49pV2 V21r/zWNhkNPA== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 11 Feb 2026 12:19:04 +0100 Message-Id: Subject: Re: [RFC PATCH 3/4] rust/drm: Add DRM Jobqueue Cc: "Philipp Stanner" , , "David Airlie" , "Simona Vetter" , "Alice Ryhl" , "Gary Guo" , "Benno Lossin" , =?utf-8?q?Christian_K=C3=B6nig?= , "Daniel Almeida" , "Joel Fernandes" , , , To: "Boris Brezillon" From: "Danilo Krummrich" References: <20260203081403.68733-2-phasta@kernel.org> <20260203081403.68733-5-phasta@kernel.org> <20260210155750.5cdbe6cc@fedora> <8ea48ce49f2c7b6fd715dd54c24e755e8ac3262c.camel@mailbox.org> <20260211120742.0e9e7122@fedora> In-Reply-To: <20260211120742.0e9e7122@fedora> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed Feb 11, 2026 at 12:07 PM CET, Boris Brezillon wrote: > I try to avoid using concepts the language I rely on is not friendly > with. It's not really a language limitation. For instance, you can implement list= s the exact same way as they can be implemented in C. It's more that a memory saf= e list implementation is quite tricky in general. Lists clearly do have their place. In this specific case, it probably doesn= 't matter too much, but in general I'd abstain from not using a list (where it= is the best fit) just because they are tricky in getting them implemented in a memory safe way.