From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="S9BTnAv6" 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-Google-Smtp-Source: AGHT+IEDEFuGPlOOaOqUwW/5TKcG+a0eq2uylZH8LKW32NcjbTMw/3yBjEt8q8/2YI2E/lZAzSV05OlXUyuh9c79ALE= 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) Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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