Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp541202pxb; Thu, 21 Oct 2021 04:51:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwblL7KSDM1JUT2aptrdVIyqJO4J1DLPLYrOhplJNMrpfaddSfcomQjWta8z193HGu9kKqv X-Received: by 2002:a17:902:b111:b0:13f:48e1:9bc4 with SMTP id q17-20020a170902b11100b0013f48e19bc4mr4764411plr.53.1634817094794; Thu, 21 Oct 2021 04:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634817094; cv=none; d=google.com; s=arc-20160816; b=NUVVRkDXRiPFTbnPDVbfGgQxua5tAiv3X9PgSsOkCZ+D1kkERuPRuReH2ahXmbnu1V zjmvkdgNQeBdkM9H3V5Ne2lTzimh3Lr4g3oD7lZvSbib0Y+IMKlWeeY4yNLzzj51OXT2 O24jFrwgRgjT/mdkWEfw2vhYdDs9B03jhB1vC0+F7Irpw3cPVqcDuR3u89xLSOCfRdJA U4oEa7DvvvDg5hK75UArNo/QcXsXjIqflhd3AvWV2oMGZqFOZ3jAvIOKq0FyF3KFNPQW +0LTUn8hi+jQIPORK9L+LMw1eL9Qvdp2fUL2eR/Kl23Wsnk1I3Kq/YNdiQSnEgvKLnzH HR+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=qGSDS5MCWZ+knVHPaLkCPuWEXa+mzsX41bo+GkwM2hA=; b=dA7TqtM34XTxN08W0FQyHEaRo/ldZGxHsQZ2ck/hyfvFIdaOWkaGdI41JMVmQGdlg0 jcXZ8BWr0LrtQKj7T9IhZb+lZBEGFwf0GnoAbz4TH/ZimJ3HGOdUPwhBfZEfcROASCA5 b3hMtZDTm45jtXu1FKC056HHYM6+ouidoRZdHB7YzPv4SDP3BYmpNpGp1fnmmyQzQF27 zsxpIqdLo97ridKwVKQWWKDma6TZoL/s7VhE0nHsuVyJD5dsh9dvNem08sb38E0ZBVX7 AE77dB/yTtbqLW0ZLCE7YK/iKWcUlTWS8cNIK37b3G4ch5HuKc+qJv5srlvOZrvajSDd 1eSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KfoNrYgq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q18si2455008pls.47.2021.10.21.04.51.20; Thu, 21 Oct 2021 04:51:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KfoNrYgq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231126AbhJULwk (ORCPT + 99 others); Thu, 21 Oct 2021 07:52:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:49202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230347AbhJULwe (ORCPT ); Thu, 21 Oct 2021 07:52:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id ED43061221; Thu, 21 Oct 2021 11:50:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634817019; bh=sVDvQ1ZxQLoeujN9G3l7GDrhXRKOKxA4BjyR6L+ybD8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=KfoNrYgqPFlLcaAAMs0wsl50RV35RfcGjNxlTL8tktIlXNLlYEgLa8aT3BziBfnQM wW6Jv/NqgsBVox5sdte9DzoCmoObWipdcTyB3n1EVx03+8ni4nnYbyrWdVDz8SL9pc cuiHo7B/xu5iZI7K60degyy4SdWzbtwsTlATnUnHob+OJ02FuC2UoANZ1+sdhIDSPj 1CyV8x231rVfodVybvPm9cWVqMghwZByMBb6vEnmjvPgioUw84pBgmhzYp6SpIYIUo 1BruhzWQ6dIogAcmxLDf7yA8bsH882T036nK7qZ5HTKFhoytZPtNlpRZRSZ2f3jIJr Z+UiW/lXHNHCw== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id E0006609E7; Thu, 21 Oct 2021 11:50:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding. From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163481701891.17414.17028188432816254517.git-patchwork-notify@kernel.org> Date: Thu, 21 Oct 2021 11:50:18 +0000 References: <20211021095919.bi3szpt3c2kcoiso@linutronix.de> In-Reply-To: <20211021095919.bi3szpt3c2kcoiso@linutronix.de> To: Sebastian Andrzej Siewior Cc: naresh.kamboju@linaro.org, netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, lkft-triage@lists.linaro.org, davem@davemloft.net, kuba@kernel.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, tglx@linutronix.de, a.darwish@linutronix.de Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller : On Thu, 21 Oct 2021 11:59:19 +0200 you wrote: > Since the rework, the statistics code always adds up the byte and packet > value(s). On 32bit architectures a seqcount_t is used in > gnet_stats_basic_sync to ensure that the 64bit values are not modified > during the read since two 32bit loads are required. The usage of a > seqcount_t requires a lock to ensure that only one writer is active at a > time. This lock leads to disabled preemption during the update. > > [...] Here is the summary with links: - [net-next] net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding. https://git.kernel.org/netdev/net-next/c/c5c6e589a8c8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html