Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp592166ybg; Tue, 28 Jul 2020 13:41:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNQOp8q2U35iO71m2srI47Gp7/tLs2wi4iKeD4vUH+sZtmLupBI+kfDGE/0uZTWnAMUCBE X-Received: by 2002:a17:906:7f90:: with SMTP id f16mr26847479ejr.507.1595968885999; Tue, 28 Jul 2020 13:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595968885; cv=none; d=google.com; s=arc-20160816; b=TdyIMMjlmJORw3GLkQb2suHy2TDShhifegDHRWWRvoecKoCuCfn1gc0sExPKD9HZYk X+9SV+Ghb6NpaoE3UVHAANLr9s1NYi3BQ4f9D19eOmkQYH4vIriuqQHmhHDQQ3yvHDWv 1XZNytsrf1XEdzcq1mMu1V+O2QM8htoIdhzRKr/MlcCLK0it21PVs8ejdJX+DFOf43ya cGoFnzUHHgwv2Lfmbh0iWQIkjhMERuKUmrd1SThXuRoiSOMDMGXqS5D1HBd1qyyX2pXQ NZsvtp14MWOJ+ODx5ZD4YdCCJgI5GHPYYOcYmwZwe/5BsAYuVJozPvdXysWcaDSFoA+m JOtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ncyHBoE5YHMb4nEZ6Xnf+6/52QBsz7cENIrs9s2OFT0=; b=GHCcl7ybkXf1OD/b8qAPvH8To3rJXoAuS0f5qjcsFIimLINR8g2g3iGnbEAogVyxMQ TZfkQaWvTYGC71yxUl80wpBAea0oyn/LT4UcbYf2Y1kkW63k8G82c6E+M6SXcaNzewRQ VzQQ5PVIRd5ytSE6J5KCLcdmQvC+YJZfRVwUwOWhdziou8EPXUh/wBgJsXPW1ALxAGGI msP3W8f4UdYfmnZ1FIBYhmDOqllI1gx7z7AcY3UWkCyTzdIYxvmSWi9h/2vaeM5o196y 2I+is6QtJ615ucRZWLLFiA7EhNR0levoOlJc3QEJFOCYrsml6FEp+q4OvsYwIvoNrxzY aCGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y19si8761011eje.247.2020.07.28.13.41.03; Tue, 28 Jul 2020 13:41:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729055AbgG1Ukl (ORCPT + 99 others); Tue, 28 Jul 2020 16:40:41 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:49984 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728430AbgG1Ukl (ORCPT ); Tue, 28 Jul 2020 16:40:41 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id D21D91C0BDF; Tue, 28 Jul 2020 22:40:38 +0200 (CEST) Date: Tue, 28 Jul 2020 22:40:38 +0200 From: Pavel Machek To: Josh Triplett Cc: Linus Torvalds , Christian Brauner , Nick Desaulniers , alex.gaynor@gmail.com, Greg KH , geofft@ldpreload.com, jbaublitz@redhat.com, Masahiro Yamada , Miguel Ojeda , Steven Rostedt , LKML , clang-built-linux , Kees Cook Subject: Re: Linux kernel in-tree Rust support Message-ID: <20200728204037.GC1012@bug> References: <20200710062803.GA1071395@kroah.com> <20200710125022.alry7wkymalmv3ge@wittgenstein> <20200710225934.GA16881@localhost> <20200711210317.GA60425@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200711210317.GA60425@localhost> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > No, please make it a "is rust available" automatic config option. The > > exact same way we already do the compiler versions and check for > > various availability of compiler flags at config time. > > That sounds even better, and will definitely allow for more testing. > > We just need to make sure that any kernel CI infrastructure tests that > right away, then, so that failures don't get introduced by a patch from > someone without a Rust toolchain and not noticed until someone with a > Rust toolchain tests it. So... I'm fan of Rust, but while trying to use it one thing was obvious: it takes _significantly_ longer than C to compile and needs gigabyte a lot of RAM. Kernel is quite big project, can CI infrastructure handle additional load? Will developers see significantly longer compile times when Rust is widespread? Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html