Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5458907rwl; Tue, 11 Apr 2023 05:57:03 -0700 (PDT) X-Google-Smtp-Source: AKy350bqGvT0w2Ko3W/ikawCiPoPYvz754rj8sfUGUSPwUrsgxw10anKeZytZrNNzdt/qN+TspS+ X-Received: by 2002:aa7:c7d2:0:b0:4fc:3777:f630 with SMTP id o18-20020aa7c7d2000000b004fc3777f630mr11237060eds.0.1681217823484; Tue, 11 Apr 2023 05:57:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681217823; cv=none; d=google.com; s=arc-20160816; b=pHUKSGHl3+i7mWOhZgHxdy5hR2oOigluGnmRGBj8ILrq4IXGJQEF4WISwhQY8+Wl6d nOFIYMKW1owJQ1vPMdHPrgObEM+6b6CjqbgUDEgzQCL6VrBGzOKQ+wMhZOlJEwM1zuIq THAVQQ2bmavlfJYwyb8Z0RbSGKa7lSbnN1hft/UQvd/P17KviNK/mCVKwuYoJJNKW07f PehwRfFNQtE+MwrTlGCeIeHa9pjitBh/8LDLJ1FSy/gr0I+A6DtgT37W1jjDYVqWusM8 QA1dtuxFlvZzDrfTZnx+irJRIAvW6GXYsqqVgH/9hdKByVg6NcveqwYFtgYFSRQ2P0Ti u2yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eg+GKhnEirrMMhpPnQODg1EsN/VxTNd4Ksu8KBmmpEE=; b=sn1lKvI9gN1DZLUPqQx5zMB7ivJRdw6/osiMRgaN/u3p7P3mjAfsVxVFB206RZDeK6 KXQ+bX2cav1Jalba9hgvoRafmt2CM5Stqjbxfu1zU/t3o3bB+q6u0G58/eCJy5Gl69Af ugs+hsY8HxSBz9izUDa1pEiT6AxT4d0t7SSYOlKPv2kmqshWhn69JwZuEZ7J5K5acoIO PdBONBGh6ytyEHZ7Ez3qM6oFHbb9W6LObx9iCkOeeREL9l1/6TV9EbBAuESbMFel0fgj HqDPzJCqnE+5HCFvAioc9zH8g08y/TABha+IKBiOvUxLmk7cyKc8o9VlB1Ej4CLonr0V Y+SQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca26-20020aa7cd7a000000b0050480cf2d9csi9048666edb.546.2023.04.11.05.56.38; Tue, 11 Apr 2023 05:57:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbjDKMuN (ORCPT + 99 others); Tue, 11 Apr 2023 08:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjDKMuL (ORCPT ); Tue, 11 Apr 2023 08:50:11 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2A0903AAB; Tue, 11 Apr 2023 05:50:04 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 33BCnpwX005890; Tue, 11 Apr 2023 14:49:51 +0200 Date: Tue, 11 Apr 2023 14:49:51 +0200 From: Willy Tarreau To: Miguel Ojeda Cc: Hans Verkuil , Daniel Almeida , wedsonaf@gmail.com, ojeda@kernel.org, mchehab@kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH 0/6] Initial Rust V4L2 support Message-ID: References: <20230406215615.122099-1-daniel.almeida@collabora.com> <136035a4-26df-1c14-e51e-406b4ee5fe33@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miguel! On Tue, Apr 11, 2023 at 02:02:17PM +0200, Miguel Ojeda wrote: > On Tue, Apr 11, 2023 at 9:51?AM Hans Verkuil wrote: > > > > One of my main concerns here is time: as subsystem maintainers we can barely > > keep up with all the incoming patches. Introducing support for a new language > > would add only more pressure. Even though these are mainly bindings (as I > > understand it), this would still require that every change to a C kAPI is > > duplicated in rust, requiring someone to do that work, and have maintainers > > with enough rust knowledge to verify it. > > Indeed, that is one of the main costs. > > One potential solution is to have somebody step up as the maintainer > of the Rust side (e.g. the author of the abstractions). > > Of course, that will not make the work go to zero, since there still > needs to be some degree of communication even if the new maintainer > does all the Rust side work, but it may make it feasible, especially > if the abstracted parts of the C API do not change too frequently. > > It is also an opportunity for existing maintainers to see how the Rust > side would work meanwhile the work gets done, and potentially a chance > to get a new maintainer involved with the whole subsystem in the > future. > > Some subsystems may want to give that maintainer a different > `MAINTAINERS` entry, e.g. as a child subsystem that sends PRs to the > main one and may be marked as "experimental". This is also a way to > see how the new abstractions work or not, giving maintainers more time > to decide whether to commit to a Rust side or not. > > I don't mean to say it would be doable for the media subsystem, but > please consider it. This might sound strange, but I suspect that having a TAINT_RUST flag could possibly help maintainers that are already lacking time, because it may quickly allow some of them to ask "please try again without the Rust code to see if the problem is still there", just like happens with out-of-tree code for which the knowledge is limited to null. This could allow to route issue reports to one maintainer when an issue is confirmed in both cases or to another one when it only happens in a single case. Of course it will not help with code reviews but we know that a great part of maintainers' time it spent trying to analyse problem reports that happen under vague conditions. All the time not spent debugging something not well understood is more time available for reviews. Just my two cents, Willy