Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1593099pxu; Thu, 17 Dec 2020 13:48:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFEPjBGk0BUSw11ekwGxDoaotRQTw06Vn3zUWDJWngvTf/9B9XFIvSLvYRqG8LSxzAvcMq X-Received: by 2002:a05:6402:22e1:: with SMTP id dn1mr1410749edb.347.1608241711662; Thu, 17 Dec 2020 13:48:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608241711; cv=none; d=google.com; s=arc-20160816; b=vWDyPnguZ0EgB6oh8SpWTKjFg4E7v86oBS8phD+fEmxjxrpL8uQ572x/Z+mOp7cBcv Jd/HEi4rNzNuq2WFuGLevdRObzXcb/NeT/XItYiQWfp2eApkB77iIXXvCdRXRbTMBxpB 9rSx+4qC7gSv2lcQ88xC36PCtvPSej3iTbGHiZJhfUInqCKcxthazkeDbYumSX9DhE06 +zA75TjKu07wHP5RIoTHkB7gjRYvXFxKco4k2o84g4rLMp9IyI+z5tlFPZNkW2JDyQ6N L0idtqHNrloT2blvG+31D+x8Is99YFOoEfRTP7Mm9/i2rv0nTPJzNciFjaKeBnJ2Nw+u UrIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ZjScrvMb3ElxesAM2kVuape9BggBg28CrendYQnMleI=; b=zm7ZcpOPF2y0X8V7wEv4chIdRTsgVu21xjTCYpVJWIGxiI2qJMSBKxle4Q+Nb7GgEC r4H6cfT5N+kjKRps8NzERtHQKzt+++FI1JlgTSWf7+p7a4i8LPK/GTVUZ3HAyhjQrK7C 6tqo8WK2mm6y1SsO+6fK+NdiiMuI7oZY0gHcboRu9WszwEykDjgNQZqAAt3q8ccMEo+P eYG8PC7fp+0hkyrfLPz+GwC1uPO0tdRyBPZMosUlUF2/sGVQvxBTCgHJNSmGdGiE+zrn jGWrjeKnpzxSduO+O6GgO5QUTjhN2jyN6ZYsnAxZ1ZfqRHDH9zGlUmj8GSF6mpmPe+TC Q0OQ== 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 f26si3291906ejf.144.2020.12.17.13.48.09; Thu, 17 Dec 2020 13:48:31 -0800 (PST) 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 S1730830AbgLQVpt (ORCPT + 99 others); Thu, 17 Dec 2020 16:45:49 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:48192 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbgLQVpt (ORCPT ); Thu, 17 Dec 2020 16:45:49 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 744771C0B7D; Thu, 17 Dec 2020 22:45:06 +0100 (CET) Date: Thu, 17 Dec 2020 22:45:06 +0100 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: <20201217214506.GD28574@duo.ucw.cz> References: <20200710062803.GA1071395@kroah.com> <20200710125022.alry7wkymalmv3ge@wittgenstein> <20200710225934.GA16881@localhost> <20200711210317.GA60425@localhost> <20200728204037.GC1012@bug> <20200729063417.GD286933@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OROCMA9jn6tkzFBc" Content-Disposition: inline In-Reply-To: <20200729063417.GD286933@localhost> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --OROCMA9jn6tkzFBc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2020-07-28 23:34:17, Josh Triplett wrote: > On Tue, Jul 28, 2020 at 10:40:38PM +0200, Pavel Machek wrote: > > > 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 fr= om > > > someone without a Rust toolchain and not noticed until someone with a > > > Rust toolchain tests it. > >=20 > > 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. > >=20 > > Kernel is quite big project, can CI infrastructure handle additional lo= ad? > >=20 > > Will developers see significantly longer compile times when Rust is wid= espread? >=20 > I wouldn't expect the addition of Rust to the kernel to substantially > impact overall build time; on balance, I'd expect the major bottleneck > in kernel builds to continue to be linking and other serialized steps, > not compiling and other highly parallel steps. Well.. not everyone has 32 cores in their notebook. > There are also *many* things that can be done to improve Rust build time > in a project. And I don't expect that in-kernel Rust will have many > dependencies on third-party crates (since they'd need to be checked into Okay. I did some refactoring recently and I really wished kernel was in Rust (and not in C)... so lets see what happens. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --OROCMA9jn6tkzFBc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX9vRYgAKCRAw5/Bqldv6 8r/sAJ0f6R0WCigrZ+64GanHpJ80b8yluQCgjACVU5BmqjDetFt6rHSvyZuf9Sg= =8C7H -----END PGP SIGNATURE----- --OROCMA9jn6tkzFBc--