Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp179648lqq; Wed, 12 Jun 2024 22:39:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXImUbh5A983ObjfQ4m2y2CBr6neQqnwV+bkK4F9yI+g6lRDUIPvL6UlFfjHGth4kdCby48hFt7ZUFY9PQdRrhtBFG+5FqcuDdLNuOI8A== X-Google-Smtp-Source: AGHT+IHyDNbMjuXNWuO3T/x0bBymmC8MO7esYTn1/33mLQeufzkh1m80AdQil3CXvFcfVtMz9qaU X-Received: by 2002:a05:6870:d250:b0:254:abd6:1a31 with SMTP id 586e51a60fabf-25514eebcffmr4266642fac.55.1718257149050; Wed, 12 Jun 2024 22:39:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718257149; cv=pass; d=google.com; s=arc-20160816; b=Gs7fRyb/lYKKLqPqG/gROclf0MVQaxF1XUMvam+Tz1CwSq6QIB31jYfRyFInTCGhoF WU8bZL/e+soNwGtMRYT60jSUehVqffIYuwuIePNN8h7wIf3NZ2EfTNAE4CmkXIivzeXV /AMJNevYE73PfvmLeG8cT7OQGXNOI3CevZ36Egr1c/U+kfezqraUOtBAeSQPX8kuCAuK dzdbWl5gOhuzS4Qfox6XdddktGnxmTxtBAnkViT1yqyokvnlh8ljd8ejXsoDouAJuG/c ioQjjT43lTzo/CwW615F8K9TbWmGXk6P20gmyd+iXI/R93THtYw+Lyj0JtHtX3rPoEl+ eFZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=y+zFkkWN6IGJDrUuKg2udy52UZP1mXdK0V8fohAU0FA=; fh=8CE15ZSEAqjKXtGh3PF7uv7CErD7G3gD9dXBq7QyrSI=; b=P8sqMEanWN5moddgai0DOMv7dIJZ+3I08c5iUIEHyfXmTRZQH6mF9cv0nxseTL8qMz FiPsvNCu/P9+FpwivawW3ktc8QgMNLbgTs540JUM9nNSaVOVHxulpYuf9acccrPxVE2V lBw4Gkg8FuZWq9UlYguFNzWcs3l0K+LRDPcp/O7jB6M0GyjozN9doNHtBv7jcnnsnZK7 MDwhjpc0/Jqqdxpe64PztQ5hH4cDbq0HOUUd81XGP9b4PMB1KkzK5AJxYnOdq6JVu8qV EiFbsW3wtyAYaxsv08uEbd9911QtO78pLHSNV3Qld0G9iidYDgIZ4ENdzjkxU41l7EBC qeTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="l/xnAPnX"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-212574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fedd4f462csi595914a12.107.2024.06.12.22.39.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 22:39:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="l/xnAPnX"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-212574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 825F7283EB9 for ; Thu, 13 Jun 2024 05:39:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8553B1369A0; Thu, 13 Jun 2024 05:38:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="l/xnAPnX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78704136982; Thu, 13 Jun 2024 05:38:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718257135; cv=none; b=quNbL+sh1eBicCLd7Us4UsHxJBl+4KEhsuqEAYEG2BWop5qRaToN45PRUHwzRWkd41U3yFwWsnXyMOeKqyCXB/8HI3R9KUq8tuQJlF6FrEaYB22qowmvqLlI9mGCBavrPImzxoKny74HmVW+cGL7hjIuows1tF/PFUFsooD/MQk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718257135; c=relaxed/simple; bh=wPBovtDejZJ6K/KLoKALU7fnSUOeof+FbKpgp7tgs/w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uD+A1oXHf7E9TQIzCYi2YO9lcNZu6ZjO7zTk6JG8CgnyP2BxyHauplCmcnilAZqJX18Z6CsCN9ET03rIlFbPrVlOM6uTtDAYCpz3NIAmdCuo2YUq2a1dycKojmc5Ywngc/dLSb3lq70AX5mKVKcsGtO06w+zsjGhh8skA1C484k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=l/xnAPnX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64240C2BBFC; Thu, 13 Jun 2024 05:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718257135; bh=wPBovtDejZJ6K/KLoKALU7fnSUOeof+FbKpgp7tgs/w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l/xnAPnXrPLIUqYbbrYEkEYIHpL5HXBAFLTC8PdO6M5Z2JyavAl6DyBowaNaB60Bh FPTqi+S1JJB3FY+3QbundTkRGWWIn5L4alFqkQPyGOE67J5pugMEgJZ5pIsApHaI7y wcZm4/ShNyyFiU0mGHLXYXUQE6iRRxE5jbZCUKyM= Date: Thu, 13 Jun 2024 07:38:51 +0200 From: Greg Kroah-Hartman To: Boqun Feng Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, llvm@lists.linux.dev, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= 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, elver@google.com, Mark Rutland , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Catalin Marinas , torvalds@linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, Trevor Gross , dakr@redhat.com Subject: Re: [RFC 1/2] rust: Introduce atomic API helpers Message-ID: <2024061341-whole-snowfall-89a6@gregkh> References: <20240612223025.1158537-1-boqun.feng@gmail.com> <20240612223025.1158537-2-boqun.feng@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240612223025.1158537-2-boqun.feng@gmail.com> On Wed, Jun 12, 2024 at 03:30:24PM -0700, Boqun Feng wrote: > +// Generated by scripts/atomic/gen-rust-atomic-helpers.sh > +// DO NOT MODIFY THIS FILE DIRECTLY Why not just build this at build time and not check the file into the tree if it is always automatically generated? That way it never gets out of sync. We do this for other types of auto-generated files in the kernel today already. thanks, greg k-h