Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp670534pxy; Wed, 5 May 2021 10:50:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxj6oi3lB0YAO+64+l5asiOwYeblTvUWrj88ChO2+0jXEKEIqL0GCuidqilm7zaommNRtLN X-Received: by 2002:a05:6402:485:: with SMTP id k5mr212318edv.211.1620237030837; Wed, 05 May 2021 10:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620237030; cv=none; d=google.com; s=arc-20160816; b=zADI3vCnIrH4pmntgDGa1CLqIhRxMNYf67nrdIARvxpBoKHJjIfUV2kknhCssSxYCh DHBW1aA65zbZBIJfMLRTakXqY+2hKrUiPHio2ueAv+KC8yNjrebdKiVIAlLeHoneCDmY en/CJYj6O2LYtI0PjXR/hVjs2D/g5SBpHsMefSKCW/OI8JVVjSna8ih3OlP1GSd4Djvf V6ntiX307SMnT4vML9KPNRWzERbl7AdJEpPvlop9EP24YdB8TPhJtQKiYnDlbhGp0dkk 3DgUMbNsMYRye6a9vt+YoS5UlPhwadNnZ9cBdzpMV/BIT0LxKAmsbtlC5umCoJ+y2L4C uuIQ== 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=whIXjs7HREiiPRAWZX/G6jQFBwJD27ZgekNpzmde44g=; b=TSHCdwcIbXj7cCD+0RTmp1iNrfcO2smZopsOZZNanKCV5BIvkf1blP+DmSVBKWpU8r Ugmejwi+oK92H035TOmt7IQwFdvgVPa9gTMAs0PJ6uEbitozOL8uC+vHNh7O5NZOvhZO iJbbSZxFFeZIB/IBmS/ReasYhIsPVs8dqdH5nsuRhlbHggRNc6m7hsOX71BM8CPMiZej ozmBJ49HgOkDmQDrHZLx7pr8ZDaRK14mWBxBzHxy2vLQMoWevxQOv7uD4cr8r7Zdyag4 6ZiIQHgiY4MEW/LX1eyIBt0K+Z4ck9cRnCeTCRNX/9ZwnGI33erlohD/R+LqOevmYH/D Gl6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gZ+cK+xg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r2si37106ejh.306.2021.05.05.10.50.06; Wed, 05 May 2021 10:50:30 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gZ+cK+xg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236167AbhEERry (ORCPT + 99 others); Wed, 5 May 2021 13:47:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237110AbhEERqI (ORCPT ); Wed, 5 May 2021 13:46:08 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F04B6C061343 for ; Wed, 5 May 2021 10:21:14 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id y2so3630986ybq.13 for ; Wed, 05 May 2021 10:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=whIXjs7HREiiPRAWZX/G6jQFBwJD27ZgekNpzmde44g=; b=gZ+cK+xgmmvgVAC+FiI8e/Yklqk8O5I4cKNx1uA0JvEX1UEePUXJg2QQwml7Hu5LSi nb5jPM28TGfpkev+Mgltbw4Zn/iwzTuF0wzcoHIYQgdU8h2JstSeU4xvopfqcFbfPg2C QECsXpX8jDY1CjrYHwx5fkes+BcZjFR758IsXPSHf4w9pIHIEOALGfwqFT+loWV9dvJn mQa3bzCn5lZKnAj7ysuCa/oPalQTrpW6lmdr9wbA9Fts23sTnn32x7gd42lJLjn6k3Ar X/B/zfzMcOrvcLmtAy92xGCqivUU6porRmgk2nU6a+ij7HCCptGxlqdjBxCvxn9QTorV cFMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=whIXjs7HREiiPRAWZX/G6jQFBwJD27ZgekNpzmde44g=; b=MJfW4TjoRPCJ9bO63ld79i07Pv/e41l8GcPfZhvwi4+C+/gHDwgGOMS34jahGTgbJa hNaEO5KuTH7TpQOwCFP2rLAZOkHIbBQ+1QAAlRX3Zo4uJtlxsoJDtrKuLCqJna8Z9Lfh F5QgoprGvxabqF6hEq/dd7WulmPHKW57x/jwkMnTo6+GWDhLu9EXRFiuScq/JdKtgV35 FF7wZBKnzSBpF1JOKNA3kdaCVX54afPruw6szYRM5m2nawQKy6DK5BmoS87+RtA7dRd9 eTy13BDazV1DTCXtGFPxhBXjl6+3dL5yH4TUD5oMfc7W0WcdPBGz1AuOOfD0ZBARvebE AxRg== X-Gm-Message-State: AOAM530zn3sHFm0fzWSJSCFixhmSuiV5ZRob0v4sL3kK+zeNBwRjea9O Zqsb/4EFR+mi5Ufbz3R3RIbYJurGuLZ5PeT894k= X-Received: by 2002:a25:cccd:: with SMTP id l196mr46524836ybf.26.1620235274101; Wed, 05 May 2021 10:21:14 -0700 (PDT) MIME-Version: 1.0 References: <1c5e05fa-a246-9456-ff4e-287960acb18c@redhat.com> <20210502093123.GC12293@localhost> <20210502164542.GA4522@localhost> <20210502175510.GB4522@localhost> <20210502214803.GA7951@localhost> In-Reply-To: From: Miguel Ojeda Date: Wed, 5 May 2021 19:21:03 +0200 Message-ID: Subject: Re: Very slow clang kernel config .. To: "Theodore Ts'o" Cc: Adrian Bunk , Linus Torvalds , Tom Stellard , Nick Desaulniers , Masahiro Yamada , Nathan Chancellor , Linux Kernel Mailing List , clang-built-linux , Fangrui Song , Serge Guelton , Sylvestre Ledru Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 5, 2021 at 2:58 AM Theodore Ts'o wrote: > > What does this mean for enterprise distributions, like RHEL, which > need to maintain a stable kernel ABI as part of their business model. > I assume it means that they will need to lock down on a specific Rust > compiler and Rust libraries? How painful will it be for them to get > security updates (or have to do backports of security bug fixes) for > 7-10 years? That is a good question. If a security fix requires changes in some generic that an out-of-tree module uses, customers will need to rebuild their module if they want that fix. So companies providing those modules will need to understand that disadvantage if they decide to write an out-of-tree module in Rust. And to support out-of-tree modules, distributions will need to provide the generics metadata like they provide headers etc. As for freezing the compiler, some distributions already support the Rust compiler in LTS releases etc. But now that the Rust Foundation exists and gets sponsor money from big corporations, companies and distributions may be able to ask for "LTS" releases of the Rust compiler, or ask for sharing some of the burden of backporting security fixes etc. Cheers, Miguel