Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp433106lqo; Thu, 16 May 2024 10:09:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVu0oVodGQvuMPeNhsVHnGhXljB3s4c5+FnM42eb4SdoZk3Xb0+opq+eZgGaKObo72kGIVPYIWtFg7R+FsNNrJUepAsjLEqke/YnAzW/Q== X-Google-Smtp-Source: AGHT+IGClw+Wm/xBloeQL0VfGefI4FFu0+cjJly20AFiUXc+Zk2/WfTYFUcG7Q/MFxdsixNpUk43 X-Received: by 2002:a17:903:48c:b0:1e3:c5d0:9fb8 with SMTP id d9443c01a7336-1ef4404fd76mr169676465ad.42.1715879373978; Thu, 16 May 2024 10:09:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715879373; cv=pass; d=google.com; s=arc-20160816; b=BmyaspH8aTnpgiU0/E2+2b9Ji1Mp8kCd1vsEkMYKULxLvndpfMmn/vFhYXFBRbCKzU rPvI4YmH1ELOtplrpxE0qlwfSMnM0WGE8MdnHe0o2/6i1F3zTZmoXCBDJh4lr9CAlYZH EPl3MtDdiDsKWVEM14ojIyTjSvlrG0lwz1lC+z+4WZfNPFmb/XEW4QZ8zYJkJosobG8z J9N4VMug13bCXlN6JOm/A2vm83mUdJpw7oKZMXJ0eG/Ez8NJwCBBiZMKo0JWuSDV44yq To92lAMOii/Td0Ke+b0rC6XYnnTNRjtOTKWlVrtE4il+zENxfY1fzpPdQo+59y7a+sdM O4Dg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=ggqDzvuVW1SHkSUQXE4l9nUzsTTuNXRFUH7lMDjVhHs=; fh=XttmqHVvyFDa6OYi6E8kOBJcw3hzQfWyRlqd7s7PwPk=; b=ySjQdKSBT5jlXWOIrk5rlAKTX5J6x1REQI7Iq+DwJu5DWQoDpi8UO8NYKqy74Z6tG/ kvp9wOIeWmqYbvWF1lwxVL9xcN4AEcGsyCj6orGj7wet2HdRTBuIlpFKekj7p+UGDjFZ rBwfZPnfRTGySsZjAhzmZ98XUkeBhpdkdLDyqP9ETf11oyrKB18HGH+DGNDqzvNLfgtw AMsWtFo1EW/OhICx4CqKtNt4UAZk1Qy+gnJSPOh8eXnYYpoH/VI84r42164zSo3KXU8R 9IvPZk0+fzI9+oKyliWFGiV6X5rdyg443ohkWJ0XKnoftp0hmIXvcPLZpxzzgz/jsiav EojQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eYgeVVfL; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-181349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f099cb83f4si23450275ad.314.2024.05.16.10.09.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 10:09:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eYgeVVfL; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-181349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DA788B22A18 for ; Thu, 16 May 2024 17:09:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D439515099C; Thu, 16 May 2024 17:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="eYgeVVfL" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 9EE97150986 for ; Thu, 16 May 2024 17:09:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715879351; cv=none; b=maSaR5khQrdusTM0zbSTF2J7gZRbbXaBRvTIflv03QLI+JB8hcPs9KVs4bhbhpuWwmWRQAjTE5TPqV3mn1Vqz7LoZ1jRILORLv4op3dXhTAz8Wsigf6bWDe2PsdsdJLGOKIEFTs18lqDEPsutKfpKPea5Vhzu5jeY/OVtLHvDn0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715879351; c=relaxed/simple; bh=ggqDzvuVW1SHkSUQXE4l9nUzsTTuNXRFUH7lMDjVhHs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Uxdmn6kFUZcAnmeMCMcok6P9Pdb0ARNA2uopYF2a+aQQT8XSEQym+dkBqqM/BvIGELdROpKRIvExVJO3H/h1WJxfJxOdQ8JUbKvf/4Az907EEexymow+W4rgHxFJGu641GUIt3OOfDV3MdBIOSgrdmQVHNVmQkf9IJicuQHgT9Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=eYgeVVfL; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715879348; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ggqDzvuVW1SHkSUQXE4l9nUzsTTuNXRFUH7lMDjVhHs=; b=eYgeVVfLK73mmJbQHupLSOfJPl8LacWYhghJL4t2EtTKo4B3kxNhpJ9rCpbuAd9BJKdRib 0WUF9FZq3fqhCQKdPjScqOWLHBQiNHaEkckA1Jfc5gYs7PfzOnktmANZ47Fk9ps/Jl1QmV OF4psDRZVO5YZPAf5+5RVavcYbE6w3c= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-682-lfXInM7nNVCUnQa6ZARqVw-1; Thu, 16 May 2024 13:09:07 -0400 X-MC-Unique: lfXInM7nNVCUnQa6ZARqVw-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-43de409b742so96314541cf.2 for ; Thu, 16 May 2024 10:09:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715879346; x=1716484146; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ggqDzvuVW1SHkSUQXE4l9nUzsTTuNXRFUH7lMDjVhHs=; b=qwO6B6TLLITi3eQSD8rni4cCnmc4Gv1KCEHzuEh2AzGEw7ZcLEHzKr2Tj2xk41yeRz JsNxRnZ87VrBfcCRCByZizDPoNffZ0HXs3ldIdjpSz4mA1TUqTQrGpbZcHZccX/z1G6M hB7UFIiRXh99widoQ0LqdqheyLDFwtsNsCniVpksrQ4o9Hs4FlWI9Sb60yyPBoOjqrZk jjsopTjr9A/P+SzZY+OtdAkkBOOdoB21zWaoJzfZTxMUmcSJuOKMhKupe+5tfwq4hlF+ WEYCcZkTmnUwlu5h/lp01nqXvsugvno20RXrNE+l/c9Fcctl9EtK7eGi7rOQBp1RNomA /V+Q== X-Forwarded-Encrypted: i=1; AJvYcCUqqwbmpMDd1x6bC6WrRHC8B5NY6lACUZlpXxtQHLBGFzhLbW2bqqM7OdlO47Qt0oYyoq1IR8LU3oakQxMN+DQgAz7ufysYmr0fu6fl X-Gm-Message-State: AOJu0YyPFZOkQ+JSQ54wcVV6OxXBDhWM+oRyr9XFZtSsYetEdf2EOMPz qfu6rTuVf3hijoeXKVfZgoSZ58f03Jg1GpVa+rCpNKVb1BRqGVHY1Quv0sIevn6KC/mkRLsa61B HKkMFVGlka08PW0YMAG4/g7DwSoRC/Z3iHeTHbpsfsa23bbPzoB48EA1xGgamMA== X-Received: by 2002:ac8:5f14:0:b0:43a:f80e:152d with SMTP id d75a77b69052e-43e39de4d06mr35882321cf.3.1715879346447; Thu, 16 May 2024 10:09:06 -0700 (PDT) X-Received: by 2002:ac8:5f14:0:b0:43a:f80e:152d with SMTP id d75a77b69052e-43e39de4d06mr35882071cf.3.1715879346054; Thu, 16 May 2024 10:09:06 -0700 (PDT) Received: from vschneid-thinkpadt14sgen2i.remote.csb (213-44-141-166.abo.bbox.fr. [213.44.141.166]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43df56ddd77sm98217861cf.92.2024.05.16.10.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 10:09:05 -0700 (PDT) From: Valentin Schneider To: Frederic Weisbecker , LKML Cc: Frederic Weisbecker , "Paul E . McKenney" , Boqun Feng , Joel Fernandes , Neeraj Upadhyay , Uladzislau Rezki , Zqiang , rcu Subject: Re: [PATCH 4/6] rcu: Remove full memory barrier on boot time eqs sanity check In-Reply-To: <20240515125332.9306-5-frederic@kernel.org> References: <20240515125332.9306-1-frederic@kernel.org> <20240515125332.9306-5-frederic@kernel.org> Date: Thu, 16 May 2024 19:09:02 +0200 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On 15/05/24 14:53, Frederic Weisbecker wrote: > When the boot CPU initializes the per-CPU data on behalf of all possible > CPUs, a sanity check is performed on each of them to make sure none is > initialized in an extended quiescent state. > > This check involves a full memory barrier which is useless at this early > boot stage. > > Do a plain access instead. > > Signed-off-by: Frederic Weisbecker Reviewed-by: Valentin Schneider