Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp86779lqh; Wed, 27 Mar 2024 15:58:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVePc8pbA7xbpDOMl2OnjG3MvwILFBvzRJJNFPSOUgH7v5togJdexUkHaU9Zwn6pS+uZKRw/HT5dfP0445niIkGQfaH2Kr2sC2GjLe+qA== X-Google-Smtp-Source: AGHT+IFTBvrnuzPghvLw6qrXs29IFj2gMb6/2OA9lENsX7Jl4Du6t4RICjgvX9MhB7Jss3vXZiP/ X-Received: by 2002:ac2:5926:0:b0:515:ba14:a466 with SMTP id v6-20020ac25926000000b00515ba14a466mr512505lfi.18.1711580311198; Wed, 27 Mar 2024 15:58:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711580311; cv=pass; d=google.com; s=arc-20160816; b=iSA33DnPzTwP8l2Tlnjxs6hfNJ5KzShZ1h2wurSM2ziN9xYiUgoqfjQzKvkBEPuNL+ +mYK1kkkh9it7OqoHSwCuo9nEaVs5iAOgL2WpDvgOvck3ayCjMqeXEkocZb3HGipCJah gma1aAY5fHcHFMqtp6Busv0Y8gtvT+Y4PhsXS7hzZ20tSAtLthHSg1hZnWzlgQleVO4L 1vb7HMbkJAJ5kjcuDmLdIRnQXYEwdhCtBoO7Qb/x1QriiPW4rnGOOQVVFI/lcaPPwirK EyExYZhJO0ht+Sq3Toxhfh6cNOqqLUqDjZ0KE62ASVBFEyVJ/V0ybEg8Uwx82ZUelFUc sPaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=ME3b1Rt51xAoj3MwQWhqtTxBw4ApU7TZHqRjbw2b7co=; fh=LauriGeRnRDPG4XgJqxrEVMgSuEDdatm7rGu6iZghXM=; b=KUIgzEsQsG6Z8hlzqgfvpUJavUuQvCw+nCEMzhcwjR/ve5+ezBIiRTHGVd95qzNQbm DI9t6xugVWRyvuPk5V41fD8sH1aINC0JYm294j42f76Qdw77llyh90NGzC8NxmOdTl7+ EKpTm1L6t9blwZmkHJQrm1xrwsHfmulCl4JxuJ2mmOUl+cmkAaR7BRpJZA4qJlptk1So F60P+SHjuM16bx1TI9VDD+BANtVQFcULB/1mqnjjmcYMX1aN5IgjnaPUFxQVaZ/1IDVG O9j7Hcz7CZP0G1U/VS2P9CH6DlKYPNWqwYmhORgQgK1h52pTZjANZA7+YUfRbwRG9nRt 4QrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=EsXUjeXE; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-122136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122136-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s20-20020a170906455400b00a4748ddeaf9si48974ejq.134.2024.03.27.15.58.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 15:58:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=EsXUjeXE; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-122136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122136-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E64421F2F0B3 for ; Wed, 27 Mar 2024 22:58:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9626E154BEA; Wed, 27 Mar 2024 22:57:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="EsXUjeXE" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED99D14C5B1 for ; Wed, 27 Mar 2024 22:57:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711580254; cv=none; b=MfYYHQVM4GwAwCntzh6QnXKGXYKqOU3JF4rEXHSETaRVxww7M45K/i7Zxel2+bScnZL1x3Ft1/xiIJGjVsqSNd16ahm+Iphyis8c6EyF94LR7aUkNOsWrVdHIwUaMtW3CY5jgbTE1q86k6K7jTYxmuRTxgI1i0gHyLUjZTg4yWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711580254; c=relaxed/simple; bh=VO6BQZp9XbSQ+WsnBdem/mcXj4kD5L/TqZKDrqpZiSg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HoQ2Hy1W5cIZ0FswFJREbNtvZDae1qpSjtL2vNgqrvwWfI9zoEvw0N8Ih/dDtTy7b149XtIZHnag47OYCH9Bh4Qx2jqWM5UScLCVOiTt76Xjvl9bKrfsKpSbvLftDs/+dC1QmSWCDZmEv1vky2DE/PzNOo+YGFJhnoEN/2PviSQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=EsXUjeXE; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-56be32b9775so352794a12.1 for ; Wed, 27 Mar 2024 15:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1711580251; x=1712185051; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ME3b1Rt51xAoj3MwQWhqtTxBw4ApU7TZHqRjbw2b7co=; b=EsXUjeXEJYa5Cd+zOWZ/73Hloc7exBIma/B/MFmY9s8CJlVVvpqQI7+ffQFXbQy1eg /6nMjQt7WV2/sC2gzHXdFE3S5/Y0XKqt81AW1nAmvPoN2tpxWuxYeyRWeqbSfQUElg5Q CZRo807/Hl5S7DL16D+5VMeVMA3xJHP+fAeUQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711580251; x=1712185051; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ME3b1Rt51xAoj3MwQWhqtTxBw4ApU7TZHqRjbw2b7co=; b=HJD0F1g7wPmli3uFWMmy+cdMRLKlihasXcJ0RjFQxk53l/CknGmreF0QlD31ohaTZW Q0bM0AFsgXaOkrInuxykUcHdu75LaLPTH2ueEpFQ0In0PS/DrH+EuUIePg0/BV9Foe9K rHI8urMbn1aQJyLOiXngsTwj4xE/Qu7EhSf66MRwvZ/1Hvl/5SIDI11WYwxLBydzUuQO /8T5gqrkvI/StsTJrNfc8B9LVXX3Pvig/PHinpxC+z/r5Dlgf2u82oZ2zRaEfx+CtcXm bqiwNkiVDbls2e/nkCGFYqhIlu5ISbhBxHH1J0JCe4ef8ZL5xjMobNdrvbMuKvJWwist a2FA== X-Forwarded-Encrypted: i=1; AJvYcCX85KtPj1mWCbqruFQZ9ZPS2E4FsM6Y4BnLSoqXXn38yqYTRMYrth3UQAkLT4KE471NCEqlgaIlSvFpMvn/xAf6lyLbnY7qHwoO/wCE X-Gm-Message-State: AOJu0YxfVczHv0Ipp1HU/eYrUCLAnpoCDW2Yez+mRjC3A0kNAOi1KjcD Nqw+N6+Ca3PS9CBRa5Rl3Ra9sn5hllpL96WVWmQ2fduSpuyGPPWodWNJVRdzDa/l6/SnVqLFeSI 0p6nD6w== X-Received: by 2002:a17:906:150a:b0:a47:3469:d75a with SMTP id b10-20020a170906150a00b00a473469d75amr526528ejd.67.1711580251184; Wed, 27 Mar 2024 15:57:31 -0700 (PDT) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com. [209.85.218.42]) by smtp.gmail.com with ESMTPSA id a22-20020a1709062b1600b00a45be04f00fsm41942ejg.171.2024.03.27.15.57.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Mar 2024 15:57:30 -0700 (PDT) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a46a7208eedso48596166b.0 for ; Wed, 27 Mar 2024 15:57:29 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCX17+iI0VgolimI+cTcy8ZNBr4ZfxjSH77l6iV2TUgPVt7E2TJoKF5QKtL6g6qf+C+cBlesD0i0OxN83HP3bneu90knCjOkmlntx+Xu X-Received: by 2002:a17:906:1352:b0:a47:3887:db68 with SMTP id x18-20020a170906135200b00a473887db68mr468280ejb.38.1711580249028; Wed, 27 Mar 2024 15:57:29 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <160DB953-1588-418E-A490-381009CD8DE0@gmail.com> In-Reply-To: From: Linus Torvalds Date: Wed, 27 Mar 2024 15:57:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [WIP 0/3] Memory model and atomic API in Rust To: Kent Overstreet Cc: comex , "Dr. David Alan Gilbert" , Philipp Stanner , Boqun Feng , rust-for-linux , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, llvm@lists.linux.dev, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Alan Stern , Andrea Parri , Will Deacon , Peter Zijlstra , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Akira Yokosawa , Daniel Lustig , Joel Fernandes , Nathan Chancellor , Nick Desaulniers , kent.overstreet@gmail.com, Greg Kroah-Hartman , Marco Elver , Mark Rutland , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 27 Mar 2024 at 14:41, Kent Overstreet wrote: > > > On the hardware end, the Mill guys were pointing out years ago that > register renaming is a big power bottleneck in modern processors; LOL. The Mill guys took the arguments from the Itanium people, and turned the crazy up to 11, with "the belt" and seemingly trying to do a dataflow machine but not worrying over-much about memory accesses etc. The whole "we'll deal with it in the compiler" is crazy talk. In other words, I'll believe it when I see it. And I doubt we'll ever see it. Linus