Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp516429lqo; Fri, 10 May 2024 06:59:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2GdkbiXkSm1AKm5cbQAeWmsx3zKrSBYEMTK74O/eA2MWhBkSX++37GwDLKZJUm0kDomAAcEtHjhjuTQwA4mGurSufLMH6TRfaxp5JTw== X-Google-Smtp-Source: AGHT+IH8IBEa0a5fZ+0pZseKTPf/mVpyUL2TgKtE5jgvKduv2ZuIMIzDROpLSLeTLUaU+j+JbNg1 X-Received: by 2002:a05:6a21:6d94:b0:1a7:bb6d:6589 with SMTP id adf61e73a8af0-1afde120dc6mr3296264637.29.1715349559194; Fri, 10 May 2024 06:59:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715349559; cv=pass; d=google.com; s=arc-20160816; b=NZSL6hx7tX5vHVXKVmN76E9p+m8me+nbYMde91kdymCEcjxwcgHpH3j5msAtTwNE5J wk97czRbLf2lCPxZoDnQv0MkDcIaXZIYnXROlCU4sL2eY29SwHuzNyKGdNBTBW/ZOnQ8 i6QZ2fskJ3VbNI9P0zcfR0DTvQMS2pmVSkksN0AgguRGkPN+FV3URaDDxnmMcJe3ZGK0 S90DDJeYez19KxInXAlzo5uGbjOTZaPSLdMsOlu1VvHK79e3bbKxhy5Fw6vW5AtB7Pq/ xwZ1yaxxZ16pFoCc28OadDFDBO4c8vV+9YmCxiqHkhvZ2mWyLnpbgLHtcZb4hEOMmWvR TVfA== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=4EMEI+9qiRso3J/1hwWDX5OQlYPTcWN+B4sve9hHKIo=; fh=ta/AWrqpBnkTjfn7SHqgQbWj9PGTpah1H21k6ji8tSU=; b=PV/oVUJQ9mfHxdnpGYGIWbqh+Oa72l/mhUtLcHDuF2K9xa2IXA2NkPIIaly4LU+h60 kbO3ioir5/HxQxUMAowjrFBxkJhKTTS6gd9TIQR8aiSdLw9/qm8ruJ2ph7Y1JvQJ9i0/ GTNhZM/VtNO12ZzMJtu8b7wDVxICviOPFQGc15yMsbdSnK2gpcFhwTMaRVJ9So1H2+HD sn87ZVoBMASgehZ0Uzi33lYEYB2dzsfdf2ntX5Im/tvKqFVEzLnahieWRXguBY9IF61j bJT3zrfdAJjItvYH3xNTFi9qRcm4PqYxPqbHOtrXVeb+CUSbedr/pe6edJDyglwL46Ff 6wWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MuFSyZk5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175849-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175849-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 d2e1a72fcca58-6f4d2b41943si3738257b3a.363.2024.05.10.06.59.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 06:59:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175849-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=@kernel.org header.s=k20201202 header.b=MuFSyZk5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175849-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175849-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CE216282ECF for ; Fri, 10 May 2024 13:59:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19D1912FB14; Fri, 10 May 2024 13:58:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MuFSyZk5" 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 3C05F12D1EA; Fri, 10 May 2024 13:58:51 +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=1715349532; cv=none; b=u3MfLdWjPHUv8m8D+n3/6NRdE5z9AAai71e2aJL+JV1QiT0/tWmHnY5a5U9Kt7n5j9mFM3kc5UyttaByp+isUyvKvEDMTC/CX1XwtthlQJ6riB19Y4U0UKasmwZ7r66d8FryFBTyMJljOsCcKaODFSB6hA0PHk0McaPjzNgFfMk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715349532; c=relaxed/simple; bh=0XXEEUOHL+7LPrufiDcnpSkHL/Ern7h0quNp6zLZrYE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jeFYgnSvsV9thS5XeYbtsy+/vYQW8URpu96zx+KXcf63j8jOZq+KB5YVpVUMECeT5YeF4HkNQFWK3aK7sPf9bguMxXjXThlMLkS8I1JPV6GDCH+pqIdCn7YfCmJ7pRD+6MQWSbzHET5h86YdWbpr3DObe7/r1E/gpONutKZc8og= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MuFSyZk5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC769C32781; Fri, 10 May 2024 13:58:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715349531; bh=0XXEEUOHL+7LPrufiDcnpSkHL/Ern7h0quNp6zLZrYE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=MuFSyZk5SjDsq8v/bjji8pooG9FXGqiCY870znRYVx9HRkJmqmt6zGxA3rbq7NKNv cwPj+IWVcMj6p9BFG06Zz6tcMeZSdZZKrzVBPGAslrvqOe+3NPi3jKiRwdoavJwW2a 3omvWOnDK+K0uIlBVz5/ZG/5KyNOoDSQXK90IwUljTJpYoXv8BUobIpCDCE1aeKaGN miV5OCf3ZEwNQANllbNv0LAjeqdxq6dPVlgN7nWjUhO4CNrJlBhiy8jkn4RHCfJ63p 6JzQmEWOl7yvBtADrX5zOqeeTIQTQJSWVoamDaEW6j6mN+SUA8TQtJrA6EAA1ipJnq KFXi2tebFVkbQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 661DFCE08A1; Fri, 10 May 2024 06:58:50 -0700 (PDT) Date: Fri, 10 May 2024 06:58:50 -0700 From: "Paul E. McKenney" To: Oleg Nesterov Cc: "Uladzislau Rezki (Sony)" , RCU , Neeraj upadhyay , Boqun Feng , Hillf Danton , Joel Fernandes , LKML , Oleksiy Avramchenko , Frederic Weisbecker , Peter Zijlstra Subject: Re: [PATCH 25/48] rcu: Mark writes to rcu_sync ->gp_count field Message-ID: <25a55ddc-caa0-4b5d-baa4-87782e0a002c@paulmck-laptop> Reply-To: paulmck@kernel.org References: <20240507093530.3043-1-urezki@gmail.com> <20240507093530.3043-26-urezki@gmail.com> <4c9e89b5-c981-4809-8bc2-247563ce04e9@paulmck-laptop> <20240510131849.GB24764@redhat.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: <20240510131849.GB24764@redhat.com> On Fri, May 10, 2024 at 03:18:50PM +0200, Oleg Nesterov wrote: > On 05/07, Paul E. McKenney wrote: > > > > By the stricter data-race rules used in RCU code [1], > ... > > [1] https://docs.google.com/document/d/1FwZaXSg3A55ivVoWffA9iMuhJ3_Gmj_E494dLYjjyLQ/edit?usp=sharing > > I am getting more and more confused... > > Does this mean that KCSAN/etc treats the files in kernel/rcu/ > differently than the "Rest of Kernel"? Or what? Yes. > And how is it enforced? By me running rcutorture with KCSAN with the Kconfig options listed in that docusment. Thanx, Paul