Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp344628rdb; Thu, 22 Feb 2024 05:45:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUPgsOuzTa3Qb/xWmjHOSIv4XiXuE0+pkOJZc0uN8FQgKXcS8otl4IQhF2GxVHBgYS04568BEndvb0vp5RXJCxHfuEhKe+4BDFGLMIBNQ== X-Google-Smtp-Source: AGHT+IHdqErzfshYQr61skd4xgPYxUECJ4r3rWcJwvIOk/wnSMWqhmyuOJvq/GzCDVYuyfVQeFYR X-Received: by 2002:a17:906:f9da:b0:a3e:b7a5:71f0 with SMTP id lj26-20020a170906f9da00b00a3eb7a571f0mr6774832ejb.41.1708609501777; Thu, 22 Feb 2024 05:45:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708609501; cv=pass; d=google.com; s=arc-20160816; b=xJdCz2DoX77dS7mR0t48NViZtyIKM5sENi0vkL2SLHW/2CTqhrPOXv129spIITle7Y ATySN1hrbZLB69gTFgTqpf3kT/c9OQ9h+mQhlOuhCQ2nxH2iJCe7MCdWcwEs9JFYnDF3 yYKzaFhYJxigeNYl8cgbEm6Yhv2iAyp6QJ+Rgsj0b7/vRg6goURTJujI7QmH6ntkMlwM hC+OFiBk9JB4L7ckA6i9274Aav1P1/pcBTK5Vw/snR7DbHFAo67K3kmDjz14dpJCcZk6 SMUHTaALS6A2eaW2yRGqRO5Kg+EmIetzFYN0Tv1UfDsxBDLQaI+kc96SnVCkuKvFEwnN /wWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2dfBTDZT+o0NZp4rbHN3q1cUxZINpXf6hiuByqySnEg=; fh=61fdgf5CUmDJVVs9aq1eApBkhqvys1Eiq9TqLo3hNz8=; b=g+y2wHcZnuZWbxYyevk+QPI4FBLoxtqZ8XvoCFzXJBUEsL+fRvTvwUz1OKTVtFQ6Db WdV0YdBiTY6Mz1E2qMjyC+KIV4OXMbYCOre5xYtCg0J742byfIFBWsbyt199nQvcGFNz Byim8HLFH7sWQqsXRhL2hBVAxa+OQ8m7o3+Of8mmEOP5D6qSesr/e2XoKtPBq+7EqqUg LDmfPbVqvptDQh58KVtWmo6fiH27aNGu3mR+PXry/B7fd4u7nuurayUkKdeZYYcVQ5tB 7boSDnGfSlrGKttjzM7aOX+TwDq2YskdWJL80Os3XhH6HkCmhvk4oSvZnlx5qENw/LKV Npvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=py5ERAeO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id sh11-20020a1709076e8b00b00a3e66b5d661si4337920ejc.109.2024.02.22.05.45.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 05:45:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=py5ERAeO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76622-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 85B901F27745 for ; Thu, 22 Feb 2024 13:45:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01BB03EA77; Thu, 22 Feb 2024 13:44:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="py5ERAeO" 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 11E3F133405 for ; Thu, 22 Feb 2024 13:44:40 +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=1708609481; cv=none; b=bGi96DdHbYMnZMV+O1139PvEwpNIs5ORLrxxylGuOdds5lIV9Ea9KihSHUQ4CsaAQekGC4BcAFm2vN0KXHIDeHNtqBzOrpCPkgK5+dvNMc6XCcxNjSvr5mpKx4IetbjDyD7+yT6NIZhLDhE7sXzlKnEtlABNPgA81Hu/9vlQ4Yc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708609481; c=relaxed/simple; bh=w2qfdGrfppM5dIyrFpC5zXFmoAO1k86O5ZYuGpjYTfA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Oa5qOOXxkVnM69vCzAdq5apsdz0UEsV9cUXoVhXZu8IbUIZRmpeY0qE2AMtzU2Cm6M0cbUjC08GMMTrSIEmqDNnvrEnO2/xfeUtH1XkgIhK7mPOYIPlkxPrThQ2ZPoFzG09IWD6R65+dnt8Q8WHoMl43WyFBkJNfhmhu35u8nxg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=py5ERAeO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B3F8C433C7; Thu, 22 Feb 2024 13:44:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708609480; bh=w2qfdGrfppM5dIyrFpC5zXFmoAO1k86O5ZYuGpjYTfA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=py5ERAeOQ9x8NTqkTH9Tb4HaBMDCblpsGLn9tpNYRegbpEJE4gwxQDIf4ydNV5RGw Uoz25MO6AlSEgRepy0STu9IJIcoyXkYFh0sR7nDSPA0jIFhoWNFK77Vc33o9RMya+U PdyfAZYNb6MSWohHC8De7Z2dpo78cEpCKGcuAOOXSEVlxEARUpO+qetQ5TqLixrSBq gK3IRTtCSOQJjYplg596Cdq/qwHOFqUT9ohYg1HWuJe36l4jGH/ncTv2QtmXX6DcSO 8MgAxBciXwbszdtUMgUtQShYiW7FB7ewz++c0OMqrphQ8Egmjzlzfr9MN9EOVq84EZ 5vp+f4+SZf/Xg== Date: Thu, 22 Feb 2024 14:44:37 +0100 From: Frederic Weisbecker To: Anna-Maria Behnsen Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , John Stultz , Thomas Gleixner , Eric Dumazet , "Rafael J . Wysocki" , Arjan van de Ven , "Paul E . McKenney" , Rik van Riel , Steven Rostedt , Sebastian Siewior , Giovanni Gherdovich , Lukasz Luba , "Gautham R . Shenoy" , Srinivas Pandruvada , K Prateek Nayak , Christian Loehle Subject: Re: [PATCH] timers/timer_migration: Fix memory barrier comment Message-ID: References: <20240221090548.36600-1-anna-maria@linutronix.de> <20240222133320.43780-1-anna-maria@linutronix.de> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240222133320.43780-1-anna-maria@linutronix.de> Le Thu, Feb 22, 2024 at 02:33:20PM +0100, Anna-Maria Behnsen a ?crit : > Comment about the required memory barrier in tmigr_inactive_up() is not > written properly. Rewrite it and add also new comments to the other memory > barrier related places. Also make clear, why a memory barrier in > tmigr_active_up() is not required. > > Signed-off-by: Anna-Maria Behnsen Reviewed-by: Frederic Weisbecker