Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2469650rdb; Fri, 8 Dec 2023 09:01:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFea5TyBeaLrHUYHj2ty3PXya5iqGkjcSpE5PuJ7bFzIP4dUHPItmA+RpQ7oLkJB6aM2aEw X-Received: by 2002:a05:6a20:431a:b0:18c:9856:8ce with SMTP id h26-20020a056a20431a00b0018c985608cemr480204pzk.6.1702054905450; Fri, 08 Dec 2023 09:01:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702054905; cv=none; d=google.com; s=arc-20160816; b=jsi0a6ekzKvZVQ2O8RNdv2Sw+D+dPsIhV1uEFCpd82+4CosGYNAO3txBNz8nkhs2oY 6ty3LwqJDPe/oQNWcDd1wYWqJRrCYZNV+OSefae1jsG3FA8vBdJ1E1sbJqLBmkhUVR+C mPfRVbKatA3/TF+WX1oEBqcN+9rmhe1QKp4PA4SAYuX0AA3MC70ERlTyqWWJQSFw/S4d aNxMfNJZswfwQFRjYVS0uySAXZNa8/xqQH1jlOYF78G5Rm3dFQkSJAPGOTy1zveTC0hq I8wvBD70nSakzf6PqM8rc21mr0sJNJtu5BFarTGf4JuKUirrqO+Or2eDOPSvZUm4UgFR qtAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=jBtWBJQTohnwJ/b4g/t2c8OgOzR4vIJu5QNlR9uw3Ag=; fh=9j4c+cN5xs0FxMX6N3I8bzzLy2nq1051bGA7w5WKqrI=; b=IlFyjNRzdMf4MuxOAFL2/iUJP+zGYyXczh1QJ8bkM6Va+K6objDpEaogq1/jySPJ6u KJcq7Slq//gWAVGOL1U3rIC0cPeNQq44e2e3lo0Yy44ijMDIEKp5tQ8ou/DczZWE7eP2 ZkRf1movxpO0+bZb0UtpvD0jdwzfQ2gXTSu7yWufgDpza+d7SY4M1bttSw8qN5KiSyqy lBr+2Wve2CuZBlvuF0oQWhtRsmALECEPDeOhERfXsDxi/eJRSsJgQXLXyZLQC8Lysra+ NK8+viMibCtBaPzazHXI5FlcABPYVlU6PDAF+Kn1pZe2YoU4YxMjoUoqpE8JKIdy6AzW Lq4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=S9BTnAv6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i24-20020a63e918000000b005c65e63ae63si1831107pgh.14.2023.12.08.09.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 09:01:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=S9BTnAv6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0F0DE807614B; Fri, 8 Dec 2023 09:00:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233669AbjLHQ76 (ORCPT + 99 others); Fri, 8 Dec 2023 11:59:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232094AbjLHQ75 (ORCPT ); Fri, 8 Dec 2023 11:59:57 -0500 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91EA198; Fri, 8 Dec 2023 09:00:03 -0800 (PST) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5d8e816f77eso22849117b3.0; Fri, 08 Dec 2023 09:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702054803; x=1702659603; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jBtWBJQTohnwJ/b4g/t2c8OgOzR4vIJu5QNlR9uw3Ag=; b=S9BTnAv6vbJZmflvnfS6WdzPy1/qUNc45rZHO2y0n0lndurlK3RKpOY495AV2lUBqn Xx1FMbTbCmTCFH8zrfwVUNhZ8kZkEudPiG4kxr8VlQL6SAPN2AQ8FbzcuLyLILFOmmAC wSWaPprUdzsraE/9aF3K7nJsHn79E8Jo3pGFKG9MNbdG/TtlB8OVfwIy5KSW/OE6GLQA Oe6vxrv8c+v2Dr7xr6KIz7Vz4VPga9lMspIZqSYBVojvc0N53Of2v2/NSGDwDl61PFtE 4vEmqzJVIgPlEBy9oYFdZPaaqataairMWan8L2oSs3aj9GJbF6Ebiws8Da3HrP7Oq5U7 r5yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702054803; x=1702659603; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jBtWBJQTohnwJ/b4g/t2c8OgOzR4vIJu5QNlR9uw3Ag=; b=GeIfApPoLmrB6QKg00Z6X4F1BKzUospe43cck4dsRnxQEJry4dO0yn2vLW8EN9h4NX U+lwgg2+yVdWQTn4Hh2YktJSeJSdWRdG6ragB3WD6Z25Lh11L/opaED1Dv+XzQh3+s6A Xjl3aZESdNu7k4yhXgh56nJp7KwT7/gAnvEjnpbCYCNQFBA2tbTwDsHiGWDUwlixgpIp drEXV1CyiOdONqiIs4j+k3A2YKoAB1+Wn4owHpKiAQYdpazKzNqKYypstWMjEnglhw71 F5KusIMlo+KLslpX7P6xDU9QWXtcq+nUrIWn91ptmQCIJzH2hSAzBaAClrfFZLlVdiZw fvHQ== X-Gm-Message-State: AOJu0YzC4aRuFs0JnhHzYyfM/tU4s7/FfnRhJ689BUWN2UAtVHmt4cwn lU3BqklJQtVqdU26x02X/+52WIgrJK9VZigdMnY= X-Received: by 2002:a05:6902:1828:b0:db5:4653:7214 with SMTP id cf40-20020a056902182800b00db546537214mr253408ybb.42.1702054802494; Fri, 08 Dec 2023 09:00:02 -0800 (PST) MIME-Version: 1.0 References: <20231129-alice-file-v1-0-f81afe8c7261@google.com> <20231129-mitsingen-umweltschutz-c6f8d9569234@brauner> <20231206200505.nsmauqpetkyisyjd@moria.home.lan> In-Reply-To: <20231206200505.nsmauqpetkyisyjd@moria.home.lan> From: Miguel Ojeda Date: Fri, 8 Dec 2023 17:59:51 +0100 Message-ID: Subject: Re: [PATCH 0/7] File abstractions needed by Rust Binder To: Kent Overstreet Cc: Christian Brauner , Alice Ryhl , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Peter Zijlstra , Alexander Viro , Greg Kroah-Hartman , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Carlos Llamas , Suren Baghdasaryan , Dan Williams , Kees Cook , Matthew Wilcox , Thomas Gleixner , Daniel Xu , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 08 Dec 2023 09:00:12 -0800 (PST) On Wed, Dec 6, 2023 at 9:05=E2=80=AFPM Kent Overstreet wrote: > > I spoke to Miguel about this and it was my understanding that everything > was in place for moving Rust wrappers to the proper directory - > previously there was build system stuff blocking, but he said that's all > working now. Perhaps the memo just didn't get passed down? No, it is being worked on (please see my sibling reply). > (My vote would actually be for fs/ directly, not fs/rust, and a 1:1 > mapping between .c files and the .rs files that wrap them). Thanks Kent for voting :) Though note that an exact 1:1 mapping is going to be hard, e.g. consider nested Rust submodules which would go in folders or abstractions that you may arrange differently even if they wrap the same concepts. But, yeah, one should try to avoid to diverge without a good reason, of course, especially in the beginning. Cheers, Miguel