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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9036DC02198 for ; Fri, 14 Feb 2025 18:05:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2864128000D; Fri, 14 Feb 2025 13:05:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2353D280002; Fri, 14 Feb 2025 13:05:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0FD1128000D; Fri, 14 Feb 2025 13:05:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E6DC4280002 for ; Fri, 14 Feb 2025 13:05:01 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 7AA601A0712 for ; Fri, 14 Feb 2025 18:05:01 +0000 (UTC) X-FDA: 83119326402.13.5686F32 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by imf18.hostedemail.com (Postfix) with ESMTP id 9176B1C0017 for ; Fri, 14 Feb 2025 18:04:59 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="hJv8/8Zr"; spf=pass (imf18.hostedemail.com: domain of miguel.ojeda.sandonis@gmail.com designates 209.85.214.174 as permitted sender) smtp.mailfrom=miguel.ojeda.sandonis@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1739556299; a=rsa-sha256; cv=none; b=xE6aTAOPtRHylZ+yKFlDGhiGWaQZkY0qk/PCFoKpl4Vak3htBN6Coy1iybn0qkkyRTv2qg U5vTzggCehnhi4CGsjdZIQvGWq4VGM3n1xDYD3v/TlHV7e3EnFMCtNdc1Kbg7E5H021zVp J6jrtrhV/ENq0vUBxF33fv7kYOntp/s= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="hJv8/8Zr"; spf=pass (imf18.hostedemail.com: domain of miguel.ojeda.sandonis@gmail.com designates 209.85.214.174 as permitted sender) smtp.mailfrom=miguel.ojeda.sandonis@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1739556299; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=bNlGKiDQgk/4V9I6WFUe1ZggS7rx0zWohj8BV7AO3Do=; b=dm0i/z00xRFbU62jF2jSb/1C9R9CkXKAJiBaCTrGDLBlwvqAI/LoM7/5vu5EOc9dfEphv9 7u9a/t57l1rrYbsIJ0ucTsdtxbharlReKoRHWSBEzuMDmwh6xloaedBQ7JrK7mNbCn4xdT 78QOq7rfr5pdemgWXM+9G+LpBqKgdYg= Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-21f6fb68502so5906985ad.3 for ; Fri, 14 Feb 2025 10:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739556298; x=1740161098; darn=kvack.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bNlGKiDQgk/4V9I6WFUe1ZggS7rx0zWohj8BV7AO3Do=; b=hJv8/8ZrRXfrF/4EiuEqgaSxpJNcb4KYF//jwBZLvJ1x0/mM7cbJNdJFFuD4I/wZDS KPAQrBRcEsLguSojzv9d6AN8PpuG1mHpna4FSSQWmgzdvtwmY+BUyUjPyZEjqi+vkQLf on3WlT2Ls85DyxX+KZCRd2C5U2Dzy9lMbQeEUidEAkGXY7AkZ78nZhYoeGy7O4YLPEj1 N4Tfs5kSrNvgwT+RcgFf7FcH30MftOHUUFzYIyCuAW6ex6qTJDfBcz/vONXZkdiFg0v5 j3IGQH5pj6MCOdt7UnGoQ90xK03ite/dsVihKwG/evxcdamb0Jbwnej86XDHPg4dJ+ZZ acQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739556298; x=1740161098; h=content-transfer-encoding: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=bNlGKiDQgk/4V9I6WFUe1ZggS7rx0zWohj8BV7AO3Do=; b=Kwpr1C9ohLh96ht+L5N11bPdW44imrnkeNscV01fls5PDZswfNILXnx+OfEy2PrNV2 x4+jdavUn+XrBN6CjLzy/uBxLANiFyo4xXKgH40MsNpk3LIkqeOFYQ+BSWLX7WsW83zh UwhHT2CaCh7yyp5ZNTfS5YQx/3xb7sE3AYue1V0r863CsI5miRjrWhZJaL+4PXcYL51V tztI6DmyqyP1VHoRLTGHOxk4E9BA+YxrRxh6zoQN58oTDLJYUW4MjLVJfG79E0IV4Eaz 9kGOgzDylBgPvifo8p6RMK7XutVyllEGpx4HC3mpcACFaZYZMBZAk+mp6aTLhCa56mKW VXsw== X-Forwarded-Encrypted: i=1; AJvYcCUf5dLm82U4rJmVJ8q8G121w02dXWd75du22brKAtWn1wA7SMNPfGAc5Pbh8Thw65eXN7Z/4K7N2Q==@kvack.org X-Gm-Message-State: AOJu0YzfkkrNXhLOg+0+8xps3J9RKU31mWnQnpWC5I/FhyUOe8DckvrH xvVFLsQdFlqk0OAjUtzTxpCfkhC8zcFfUGVoU4WLVOPBe7lKbueSWZsY8vzynLKyvLF686QaaxB LMM0ya8Cir6syF71oHoBJgGp6m48= X-Gm-Gg: ASbGncuCiYBVSgLjYPUeY2Jj8yYxWa5jwVfBWjEbWeU7fy5B50eURCyi0z3b6iLE288 8qPdrp6ui7y5bOInzLqjCcmuHqX/zerWFsD4mgL7ApSELI6t05fzmMAnheYkWvQJOR411y48w X-Google-Smtp-Source: AGHT+IGBXkuYnKPoUWEFkmV4TUXnY1Ty6w+tV3iFACV30rX/LII7P1gEfZMjxeabEwWQK0GecQj/2tN+0lbZxNLA7k8= X-Received: by 2002:a17:903:2312:b0:21f:b7f5:ee58 with SMTP id d9443c01a7336-22103f1a081mr1114655ad.4.1739556298116; Fri, 14 Feb 2025 10:04:58 -0800 (PST) MIME-Version: 1.0 References: <20250213-vma-v14-0-b29c47ab21f5@google.com> <8130a6d5-a7e5-402b-b05c-2d0703ac1ed2@lucifer.local> <2d132129-fdf7-404d-b1f1-8ee87b838dcf@lucifer.local> <30ffd737-d0aa-44aa-a647-686e536ac548@lucifer.local> <2iypqaa3orklplwec4k5n4nuuov3gajtkiv2nt2ce2s2b4e7gd@7y6cmwrwr5te> In-Reply-To: <2iypqaa3orklplwec4k5n4nuuov3gajtkiv2nt2ce2s2b4e7gd@7y6cmwrwr5te> From: Miguel Ojeda Date: Fri, 14 Feb 2025 19:04:46 +0100 X-Gm-Features: AWEUYZlksNjUlfuWQ3E5FqVG20TGeackl_sUVz7lkxRiPl7yZlnjyQZLRmVc3RY Message-ID: Subject: Re: [PATCH v14 0/8] Rust support for mm_struct, vm_area_struct, and mmap To: "Liam R. Howlett" , Lorenzo Stoakes , Alice Ryhl , Miguel Ojeda , Miguel Ojeda , Matthew Wilcox , Vlastimil Babka , John Hubbard , Andrew Morton , Greg Kroah-Hartman , Arnd Bergmann , Jann Horn , Suren Baghdasaryan , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Trevor Gross , linux-kernel@vger.kernel.org, linux-mm@kvack.org, rust-for-linux@vger.kernel.org, Balbir Singh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 9176B1C0017 X-Stat-Signature: i77qy6xa4r7bo46xippcnhcbokxc8hto X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1739556299-565860 X-HE-Meta: U2FsdGVkX192XLP9Erfl5Ehip7bB1fqLbgz1HrGbdf901AHkpFXsXEMpzfK2J4dfj6V4D6kl7FAhCbLM5VXlnYd+45XsynS8SyDg2MOKgyg9RgJzzHsa05G0afF5s5sVE5r29XAmejJzIF/56vK21XMYrfoMjocw2A2ry89v7wmip4mvq7iVzpl9SvKLwWA8GJOUvB+BydtylbaOWWec5mWp/mrpRVZ6EdBp+DU6fQy1uPuvNn2cS5MaZILIBEP4tRS0YUEa40erqMD2t4m/vYGqic46X7uhSkBKqBTGwrhedhU0j06Xo96v/F/MompXEnIqkvFySph8/qoLprbN0N61CJkxjq2SJbVvNeURBaPCTF++TW8oHPOQ1+ttXj92TDwGw/7mpewrDODsRKZVPd4J2NyiiDDkpAmIX382lin0tupCv9Bm+PYTTK6dNy3ULcPCGXCkxY+VoAfIyD9MmFuB8Kb2J0K1V2oLd/TA3fFmT7ujBBuQ/2y2o2Fgjrq4RxBMrNGKtj42RwQbK9omz4keQxZakLGaT7NmV0CoHxeRvm8T3eUguc2AJLZLxkE9PB5wNIphdeT47JpC67EWmeh2mhV0/EkMObqvNOXVTnXJ3nvboWWozpMGVtVok58tF2mVY2w3Bdc5S2KJblfs8e6JGJPJ31hr4/24Nu6NJ4kQ0ZHv4JO8ws2rjCpqYGjKwAZojXrCXqVWlYWpJm6nk86cy2FIF0nyX4PCugw2ZzPHGnhqsC3tRPjfTfoCAh3jGrFYnRV6jTW0/wbjE6EOrDCAWZDfPVdiv+FvEHjuCSQXebwrzO2Ho810E69rZqTz7oM+6K0MAvk59wYV6DLGO1WkI1qZXdD3YiH1RLR3kP4PLA4W7fUzocUKya0eVB1XtADocFa7VJ8WESj8aHN556DgFRxM9CC/fOPyY68zgbpsAOh/tkcC/eU7dBZSDzBqSeQr7Hj2Q//6YKd6F3p URQC13V0 cSEg6PNfBqpij9cHHiIRFb/IR5M2zx2kvy2Y1qSzDPR6m6TbUwQGE+6+T0bfhxHYe5+L/KGNBJNvBrXKrj64PJiIfNrgFZJY+2Na/m5kqzsC9erL1YJ6XGBYD1cb09TjtslJtqpX/TyFLcHJarc65Msw7cTDJajPI/QpxE+Uz6nMB7ov1biNxGchDBMbH4+3PkEiWkWDSUMS++TWe2pDSTuYflZN7H16ifzfFJOkigZklIIou5kp70GbCTeIwCNRAbnenOV+YM2u1Sc01xFPPOuZWneV4uOc/LYP5613CErO8tWD1GN46m4ivnjEu4H93DUBsarARuTeBjZKZI5yaB288EdSd3dK1O4V43m9wI+30uL2uBlAoh1uJEG2fnFrFi7d9Uvg7ErwuiJ6dXbJkoun6PUS+z8RMCvN3L01OH+S+SdWfbPOCG7n4hnhQbL8Gz36FYFe43M0k9b8/nv2yLpA58IAWcMxBAZDBAmDoAe1CXx3mxVbPYiHy3rmgkl0b/6B2h5vLCx8LOfqh3JgfFOIXT6gTd3Vc632w X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Fri, Feb 14, 2025 at 5:10=E2=80=AFPM Liam R. Howlett wrote: > > This will become more important once we have more than just wrappers, > but I think we should talk about what this will need to look like before > it actually happens. ie: unstable rust branch tracking unstable c > branch with build emails, etc? Early days yet, though. Like an equivalent to the `mm-unstable` one? Would patches only be promoted if they pass the Rust build etc.? (Sorry, I don't mind to interfere -- just trying to understand how it would work, since I may be able to use as an example later on for other subsystems etc.) > I am unclear how the branching/merging happens. When do we need to > start (at lest) building the rust side? We've been doing a lot of work > in the modularization/interface level to try and integrate more isolated > testing, as well as the locking changes. > > Do you have build bots that will tell us when things are broken? If you mean on the Rust side, I just wrote some context on another thread: https://lore.kernel.org/rust-for-linux/CANiq72=3DYy8e=3DpGA+bUHPZhn+D66= TmU3kLSjAXCSQzgseSYnDxQ@mail.gmail.com/ The important bit is: I regularly test different combinations (branches, configs, compiler versions, and so on) to catch mainly toolchain issues and so on, and keep things as clean as I can. Others use regularly the Rust support for their different use cases, thus more testing happens on different environments. In other words, things generally work just fine. However, our testing is not meant to catch every issue everywhere. Like for anything else in the kernel, whoever maintains a branch with a particular Rust feature needs to set up proper testing for that particular feature and relevant configs. I hope that clarifies. Moreover, there are some bots available that support Rust, e.g. Intel's 0-day bot. I am happy to put you in contact with them to see what they can do for your branches. Cheers, Miguel