Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp595174pxb; Thu, 31 Mar 2022 12:28:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw21zDwwb6zmmulIEEGgT6IgHMRX3FNywPVTCe0lazicFMWyYAFwfzp0Pu8lPCLMAcKz31Z X-Received: by 2002:a17:902:6b44:b0:154:4bee:c434 with SMTP id g4-20020a1709026b4400b001544beec434mr6600612plt.43.1648754939536; Thu, 31 Mar 2022 12:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648754939; cv=none; d=google.com; s=arc-20160816; b=JbO2zT4XY1rEkU3kAVHwiYLloRaqYRw4ftD2o2ZnsujlBQof8icP8Czh876+qrsAO5 kA+cPSc4wlOf688iPBi7hH4yHjZFzyzh5LuqJetS5uMcP5UrHGKnJWZkYMoHK3KyjzCL TdE57AqaTsxJGbOv3sQaws6XNzrpRdTlEAcCePfFAMOBYoRiMMzpl3MP39ouEG4kG/sV jqsAW36WVDYwDXKghGny7B1mGDoOdsROBaGXmefEwiD4HtQQ+w1sYVGaac6M3ej6xYj9 UihV77XvEzM360qIJv62TbZ19bBJkN6aowRKOVTDaQmqmwqSnCDQcV3zXnwhih3Bw4Db krzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qI4/BzfKEkPH9iOW5F30cxLQKnAua7M62vUC8CH6ij4=; b=u2Gvwv/PR5fr95FAo/jkKhUU05HOhxa8JHt9l+og/2RbIT86FRwG+V0Hl3Re15iSj3 3ayx7TdD8FOqFEkBQP03WX/11BqF072jWrrhLzl3sLWPBtO0xtu0UvAAKtWwXBjwSNnx N4m7U3x+dKFGHfWtPWDJtd55dvuCSWmsR/OgROExRKfxpYSVyA6jL0jEl4Pt73CWHb8H Ya6HF8dfdMNuDoh1C2B5ImN3CLVH4LCVro31HU7dQ7ox1+pZGkEvKJPeJGZGlvMUZs3F c8hhI3H7Vx/DC9cmems9R0mb/iBy4pzN3P2WLLxeTtQxE9I65iIrHwK5+zhXAHg0S/BQ sxuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fMkjsiqJ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020a170902ea0c00b00153b2d164c1si174188plg.201.2022.03.31.12.28.45; Thu, 31 Mar 2022 12:28:59 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fMkjsiqJ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236742AbiCaNVy (ORCPT + 99 others); Thu, 31 Mar 2022 09:21:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232629AbiCaNVu (ORCPT ); Thu, 31 Mar 2022 09:21:50 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B451184B77; Thu, 31 Mar 2022 06:20:03 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id x9so16712923ilc.3; Thu, 31 Mar 2022 06:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qI4/BzfKEkPH9iOW5F30cxLQKnAua7M62vUC8CH6ij4=; b=fMkjsiqJXh/HuY2J0jAtlImPMR787h7K/zkt1C+F75EkXR9aVtUN/ydW3qOMTrMe94 QwbDNYH4FbH/PJx9ERaKBCxP2CtMmwyclzudSU4E+DNIvVfbNBF3ddDQ6u5GSa69KOma yDWYgo02rNTWRVB5yJKz4Fw7SlLH9DJD/XAxAdkaeS+JjcfjA3pAeWG5vDfEvMn3kfnw PSaT6zH83DYS/cFFP7n3RGWGSMxiVVPSp23ToKQ+QdmkpfCx5JAKDV+fOwg5GU0SvOdM 8I2lkvA8EA89VFOilVfJITD7pu5ePj7VLqxw8MEUIur+6yclKO6+kmrvyhAmv8kuKy+w qBmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qI4/BzfKEkPH9iOW5F30cxLQKnAua7M62vUC8CH6ij4=; b=bx+tbgjKqQ5MgqXAZZTWnCNuYZ8hVjzp+4BTO8AB3VeGRgKTuzuEgMoi+pfP5b0oqE y3RHzzhJR+DADzjxeCQYSX1og/1R7RrLmaJqTm4nNuQbUY61oBZ0ZaKfbKwaG9qU1ER6 fBAqogOgtQzEha4iPCZJhktQ1YuysznkipbhuiqVMX3CtrQHJQ/B4hgrN2NeRRF9M2Lj 6yNsrt2DXWm8niaOTe08DZ9JI/xEDxJb6dhfMdJw6QkIjuyZlCVQUinNEGvjZSg+hOUg pBiJmvX3TIqAPMWEHJuzq6r5ghBYeqVnIoWYbZhJoDAezJdhPrRV0nNTT+3kpU4iKxGc 5muA== X-Gm-Message-State: AOAM531g1m+bkjHAVlL2bxVwdKeu694JbluGy72q8YFp0k6/Lt7iAvFC H9bP3SwJrhVnBNKxEeC2cHVgpqUHa/k94UOYIas/lH7Xid0= X-Received: by 2002:a05:6e02:1609:b0:2ca:4ad:ef09 with SMTP id t9-20020a056e02160900b002ca04adef09mr495134ilu.72.1648732802496; Thu, 31 Mar 2022 06:20:02 -0700 (PDT) MIME-Version: 1.0 References: <20220317181032.15436-1-ojeda@kernel.org> <20220317181032.15436-7-ojeda@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Thu, 31 Mar 2022 15:19:51 +0200 Message-ID: Subject: Re: [PATCH v5 06/20] rust: add `alloc` crate To: Greg Kroah-Hartman Cc: Miguel Ojeda , Linus Torvalds , rust-for-linux , linux-kernel , Alex Gaynor , Wedson Almeida Filho , Gary Guo , Matthew Bakhtiari Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Greg, On Thu, Mar 31, 2022 at 2:42 PM Greg Kroah-Hartman wrote: > > This is a huge patch. Why not break it into 2, one that adds what is > upstream, and then the second adds the "stuff on top" that you need for > the kernel. Otherwise it's hard to know what is, and is not, upstream > for us to be able to review from a kernel point of view. That is a good idea, will do. There are some files from upstream that we do not need, so they are already deleted here (e.g. collections), thus what I will do is send the first patch without those already and then another patch with the modifications/additions we did. If you prefer to see the deleted files in an intermediate step, I can also do that. > I think you are trying to do this with the "kernel" keyword, but if so, > why are you picking a "since" of 1.0? None of that is described in the > changelog :( Exactly, I used the "kernel" string to have the additions clearly marked. The `stable`/`unstable` attributes are required in the standard library -- here the "1.0" is just a placeholder. I will expand a bit on this in the split patches approach that you suggest above. Thanks for taking a look! Cheers, Miguel