Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp433143lqo; Thu, 16 May 2024 10:09:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwyXA47ojs5muCRip7T8ymNsAUe0dQv0MVcDOeOHeMC1gRGGhyD8ctvXwYrA9gxj+hJ9py0YkKDS4Cd4NhVfAEJBb/lehvsZk+m6WB8w== X-Google-Smtp-Source: AGHT+IE1V9/bLt19J9DWE2kYRXILO67m2FYbQPdC2BE4aPBzpPJzljPGFHBsSAAYoRJCaIuO7T8B X-Received: by 2002:a05:620a:d84:b0:792:c3ca:6454 with SMTP id af79cd13be357-792c75f106cmr2378134385a.59.1715879376532; Thu, 16 May 2024 10:09:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715879376; cv=pass; d=google.com; s=arc-20160816; b=p5TtpDvA9Qb0+c4Zbj1q3uap/eLqc812KpNHZRYrJ/JuvGgEtcBEHEqR8QZ8uvnmTX dkOo3rScJAOj/KC1Mfiu0IUaZ8MIqKo4CrWEyH2FQCSX4c6PQSh0e12kxCl+YXip1zMY b1MJyFbhdjtNkurdihwPlkvH5N3RSUWiZcV0iMD5QIpIRgQ5ChhRb4y0GC2bOXHsZDJO wYApVSYhKnYAQUz1/bSwoOHeDfcf/SXPLBAP9ysfaC4465wkPsxFBkJ0kVoqqb5Z7U1b DjJvh5eG6xsACe5skzTzlTrLKREzCzIp7NLrmo9RTtipoaA56/6CYlCHyDAvTEc/VK7/ +ghg== 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=I+QuxV+clGRyaVcax9ZlD4uKiSfTKhMUeuT16IR1HLc=; fh=Xyef5IjTfVKRAzz+GZK7U69rlsX6qR+/yo7Atl2MRFQ=; b=yWItBw9bmjEAXanWWiwhtrmRfFz3b/4DGlMhoW6T2U6y4ffYlh2N9KLFJWqXZaUMX2 yAoeJU/Gkjs6692PR3i1lb4KXvPfAl/uqmRXPXbt0ngcJmoW1ZrgNFIwzt74ONwF6iEi UrZfzi2zlBr5J2USWnKaFSw1tUbWYZ61E2nFVYiFJxxBMJBapWlxR3J2GJtFkc2eXlA+ 8U2kcFGI2BagGiVCNMyExM0td/64slYEPcRZ2rf8DwUzo0wErfdgNEXUlwekHQkgHMkI 27YHvp7pR+looLhrn7yqsA37jKINYQJl4nmW83Jll6rm0apWmH4JZbeE7px+xEmXEFhq OcNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LcCNd6Ca; 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-181350-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181350-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-793082bb91bsi168151885a.327.2024.05.16.10.09.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 10:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181350-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LcCNd6Ca; 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-181350-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181350-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 440B91C2167D for ; Thu, 16 May 2024 17:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2E39150986; Thu, 16 May 2024 17:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LcCNd6Ca" 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 8221414A4E5 for ; Thu, 16 May 2024 17:09:15 +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=1715879356; cv=none; b=RTbo394cq2KiSAPfXckVPD7SphUFcHa/ZeUilx0ZlS12fKj1vlr6EE1yQdchllvIM6jA1h1l2O3npZhSamNpt2tlZxg+4IvEKZHdgPtZ5a1cQEq3iaCIKbuvuexGKmpmCHQX6DCXHgV04+TDi7h8CrqJB/QDF2bYmc2osF/ysOA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715879356; c=relaxed/simple; bh=I+QuxV+clGRyaVcax9ZlD4uKiSfTKhMUeuT16IR1HLc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=FfYwtA+OJnQJqNidedvyJIhna+8mMVy+VogFvg8PV/iFD58xpubLtHB1kw4jVqrAT7DlsINp453GW4AiUghqnUvgqCehNQegDzNl+MNCcpUWciW3L37RqTK+81/tgQb9QwXqhZXewxJRNNdT7br/X9pHKiK4u0QvtvRsG+trFPc= 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=LcCNd6Ca; 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=1715879354; 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=I+QuxV+clGRyaVcax9ZlD4uKiSfTKhMUeuT16IR1HLc=; b=LcCNd6CabPk9/BBN5Jk/Bj58NnxMmtO9vNx/MQ7eK1RhDCBvU9N/6fsegwN2vxnnksDyLT /KtRDEH3DBlM4nimFYMmackLR13ESe5GDniZcQKdQQMAJoATgwGfy5oaym0P1WVhDtNhJg RaR1eHwlTiQqQZNEQvaWdZQZmGKAwkU= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-396-ZA5DfLR-PpW0tlsXV5EkOA-1; Thu, 16 May 2024 13:09:13 -0400 X-MC-Unique: ZA5DfLR-PpW0tlsXV5EkOA-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-78ed2a710efso1176282185a.1 for ; Thu, 16 May 2024 10:09:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715879352; x=1716484152; 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=I+QuxV+clGRyaVcax9ZlD4uKiSfTKhMUeuT16IR1HLc=; b=PW6vXs6JtGCSbdgfuY4wVmMac6RxwsYKxORw0QhXZi/H4CN+jW+Xe2GkKvsA+pbRhP P7wY/tHfB8p2USc1R+5zO0Z2d8CNQdiqY4gV3osCYSzrkp5LjEhR8nPMVayBuFh0rbnN lhk/2rMw4r/oQVwb8a99q/nB1+4yH6bpvH0OpRhn6YD4f998WXaYy3DXFISrjI/u/+Jj yxM71ymYhyWXEiZDSMOv9Cv/wDhNJuH0qhfT6ckyd40AOhuvZVpstyyDCXW6f3V1R7Ny GbczzhIv746LukRfAaIwmcIxU1zAERNaprL/KYXwurF9sVLiIfOiMbCYItcTYvRJRudN B+GA== X-Forwarded-Encrypted: i=1; AJvYcCUESWJB/hDQ/hgMSHG35wfI9Zc+jPoPozPm/NtooIQgV8QV6loHCdbg1oTVtbMDAnjJadAG52XtztSXNo/ctUyE/0VDDwzpuoFM+may X-Gm-Message-State: AOJu0Yw69VAmfqf90oUAGYKTFcdv7j869BoWowr466GOBJCgznR26bbM ziiQCNxo5AwPY6yyJDJ7TnfRXhwnPbJTWPmlHJ3BmurBNFeRcm0mPuKvLv+v85mPVWrZswQv5R4 4H2X3yUV+kLdmmG5flfnLJO9D/8WIPCpWL5a3Vp9D4XqBBUAH2hOFW2I5E3m9KWzUtvnBgQ== X-Received: by 2002:a05:6214:5885:b0:6a0:7d91:8752 with SMTP id 6a1803df08f44-6a16825d75bmr223216996d6.58.1715879352093; Thu, 16 May 2024 10:09:12 -0700 (PDT) X-Received: by 2002:a05:6214:5885:b0:6a0:7d91:8752 with SMTP id 6a1803df08f44-6a16825d75bmr223216646d6.58.1715879351745; Thu, 16 May 2024 10:09:11 -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 6a1803df08f44-6a32f4ae41asm52624336d6.71.2024.05.16.10.09.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 10:09:11 -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 5/6] rcu: Remove full memory barrier on RCU stall printout In-Reply-To: <20240515125332.9306-6-frederic@kernel.org> References: <20240515125332.9306-1-frederic@kernel.org> <20240515125332.9306-6-frederic@kernel.org> Date: Thu, 16 May 2024 19:09:08 +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: > RCU stall printout fetches the EQS state of a CPU with a preceding full > memory barrier. However there is nothing to order this read against at > this debugging stage. It is inherently racy when performed remotely. > > Do a plain read instead. > > This was the last user of rcu_dynticks_snap(). > > Signed-off-by: Frederic Weisbecker Reviewed-by: Valentin Schneider