Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp207928rwb; Thu, 18 Aug 2022 02:18:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Yxz2YC4vybuZ8QjQrCoEVPRWKVWPmFpZv2L8HgLRKl3pY79pbOVzakr28H7Q3Q47F9xRZ X-Received: by 2002:a17:90b:390f:b0:1f4:e394:8c18 with SMTP id ob15-20020a17090b390f00b001f4e3948c18mr2131589pjb.141.1660814296409; Thu, 18 Aug 2022 02:18:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660814296; cv=none; d=google.com; s=arc-20160816; b=c2CoZzrgOjZdlf/g3yW5MN0vPi9EEaWKKjdGV4dGMDrh18sgh67PfQaaJKegSkKnIz s1IFSGkG4tSsfVBKeTzrWahRPeBjjx5eMQQfpai1boyj7X2lT3tpTebk09l6FSL8/dCv HHlRdw1HHHA1ofDehCs71W2iLouQ6EEBERsuDTHISA43Ksv+JSH33oM+Lq352l/nAJJu OmnlwZMX7xyC3ogX7FywYV1V2aUzFFdkt0UfzXxz8fiI3Ejm0dDF6XIJQAcIZEbbN5CQ AYADJnJflpyVfwbA1T9Wro6B/mCf3GWeJCe2QbowLVslS7Wb+hCLmb+koA8fX/vuhduq qObg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DGzMLdOWM/sIOu1nw9iXadUUbh0HrZjHjOrzBI+h5bc=; b=lBnYxISlkGR62wnk7Ejt+9VZ9gMTb0oJaSWgc6kcVC9pPrGSoLyKB1QAkA76RSIpUJ xAdes3XkvjjcGVm9eERs39NosRlj1SRqWYZoEe9XLY4rdLEwpNb2bbCdIhi71A5TUYV3 GyUCOLir9M8uioFsHdMQv7s4lPutCFARmh8g/nc2zEHrLGOpVPNPZYS4BIdw+H+L/Xrl qY1YaN7DiGm7lQMeu0Xtzb72e7UfEKYnUeYRGaKLGg9nHDuZ8wUnJIqs9nqL68SmfmMX PU0GGPlEfTvVuAIACTdqZbhchEr499i9Dmp3PMZ+W8+UH8bdRxuHPpGn+uUOQ+5oCEDr 2Gvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=cdUCp5GI; 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=NONE dis=NONE) header.from=yadro.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b14-20020aa7950e000000b0052ac0e55a13si1143283pfp.197.2022.08.18.02.18.03; Thu, 18 Aug 2022 02:18:16 -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=@yadro.com header.s=mta-01 header.b=cdUCp5GI; 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=NONE dis=NONE) header.from=yadro.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243663AbiHRJEq (ORCPT + 99 others); Thu, 18 Aug 2022 05:04:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239794AbiHRJEo (ORCPT ); Thu, 18 Aug 2022 05:04:44 -0400 Received: from mta-01.yadro.com (mta-02.yadro.com [89.207.88.252]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7E0452462; Thu, 18 Aug 2022 02:04:42 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 7E57443592; Thu, 18 Aug 2022 09:04:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received:received:received:received; s=mta-01; t= 1660813480; x=1662627881; bh=lZ4MHUT1h0SuflNPwEUcHRIabFx1neVnwfo FKAZ0Szk=; b=cdUCp5GIUr/L2oQg2eA1PKXmGBJiAZ7m96fJ3culr4twAWLXX7A CMQH/It+URbV8p7oLIr6slzdmYButZi7QT6DBYlMTrfaKHwVV9ISyOE7xJ2Pnxl8 lQ64+WiwGQyDLwQKHVh+NB2IHeIOJU3SJrEyzNMmH6yoy5YJ7mBgH0J8= X-Virus-Scanned: amavisd-new at yadro.com Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3DwWc1YOCtfa; Thu, 18 Aug 2022 12:04:40 +0300 (MSK) Received: from T-EXCH-02.corp.yadro.com (t-exch-02.corp.yadro.com [172.17.10.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id 9EA1B435A1; Thu, 18 Aug 2022 12:04:37 +0300 (MSK) Received: from T-EXCH-09.corp.yadro.com (172.17.11.59) by T-EXCH-02.corp.yadro.com (172.17.10.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Thu, 18 Aug 2022 12:04:37 +0300 Received: from yadro.com (10.178.119.167) by T-EXCH-09.corp.yadro.com (172.17.11.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.9; Thu, 18 Aug 2022 12:04:36 +0300 Date: Thu, 18 Aug 2022 12:04:32 +0300 From: Konstantin Shelekhin To: Miguel Ojeda CC: , , , , , , , , , , , , , , Subject: Re: [PATCH v9 26/27] samples: add first Rust examples Message-ID: References: <20220805154231.31257-27-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.178.119.167] X-ClientProxiedBy: T-EXCH-02.corp.yadro.com (172.17.10.102) To T-EXCH-09.corp.yadro.com (172.17.11.59) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Wed, Aug 17, 2022 at 11:02:01PM +0200, Miguel Ojeda wrote: > On Sat, Aug 6, 2022 at 3:15 PM Konstantin Shelekhin > wrote: > > > > I wonder if it would make more sense to implement exit() in > > kernel::Module, just for the sake of uniformity. > > Do you mean uniformity with respect to the C side? Yeah. It's weird that entry point is implemented in Module while exit point in Drop.