From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFF38C433F5 for ; Mon, 25 Apr 2022 14:51:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 382EB6B0074; Mon, 25 Apr 2022 10:51:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 32FC86B0075; Mon, 25 Apr 2022 10:51:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1D1426B0078; Mon, 25 Apr 2022 10:51:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id 0DDE76B0074 for ; Mon, 25 Apr 2022 10:51:15 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id CFD9F21D02 for ; Mon, 25 Apr 2022 14:51:14 +0000 (UTC) X-FDA: 79395689268.21.CEEB2DC Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf12.hostedemail.com (Postfix) with ESMTP id 1DB0D4002D for ; Mon, 25 Apr 2022 14:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650898274; 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=7Cq4af9zXFtyWFTPQYSYW60+ZqAJ/Qje6bRIbvw79WA=; b=MD18qrcylUjCOHyn6cd4bFrjFjBBU1R9RLwo8aWp7X6BR6bD8wRRrSoUuI9Ace9i3xjIfo 7YO9v/9TdMUO5i4sb5fTX7u3KZDB9e99d6bZ6xCIVZBYoQgLHw4fKEpWDPzM8pDHzKH0uX gfb/oobNZIjVnWM6GhMYJe4HKmqwRUM= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-600-PJ4oQPi5NxSLlUMEZNxD6A-1; Mon, 25 Apr 2022 10:51:12 -0400 X-MC-Unique: PJ4oQPi5NxSLlUMEZNxD6A-1 Received: by mail-wr1-f71.google.com with SMTP id t15-20020adfdc0f000000b001ef93643476so3452780wri.2 for ; Mon, 25 Apr 2022 07:51:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7Cq4af9zXFtyWFTPQYSYW60+ZqAJ/Qje6bRIbvw79WA=; b=JRbk9A19oX28RKp9Md+8AWBXFL9ZCj6ZnBSIsc/vB4SkE0s0GLnJpD0qMMNyenp9MP EAHCVmejMBosXMCkCunlMAEIiVle5fzQJZYBa4UoWJO6EZak+vSDxrGavG7sSDbf32jM +qfLGkN6ta1TJz9ZlMESnlx2ePS2f/kIo4uJ7R+wZ51/4eOJTnWnnM0OJvlESJjwv3m6 1+YY8WWBPwVuo5I0DHGXqx1YlbFvIU2Gem99GVqfRTjZmygsRIvBD38FkuGmyeGyNSKs jePB92ssf1sNgRIoJonLGtANSjKBInTfW/l8VNDfSmI9HnZYF6Vs5MZkkTdStwSdODjR ZGXg== X-Gm-Message-State: AOAM5337epwL1KSrxpFCbl4zajYHx+53FcVeHf44ZtXTsUun1BwZsmCd RdfnZYegZTvxtB0L35vDLNaZKglhWxYIPeRGHW/LpPImbfYzw29KADMs2JQF4IN7WXOiXKEPjzn wHkfGKCjcGQ== X-Received: by 2002:a5d:584e:0:b0:20a:9122:2c3c with SMTP id i14-20020a5d584e000000b0020a91222c3cmr14551942wrf.193.1650898271796; Mon, 25 Apr 2022 07:51:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzYrwVElWy2gr0bSKJTXkRO7AqEyqH2mM3C3/Vq8lwAVd/Q/IrCzPIJwEVJtSkbNiNyPbbGw== X-Received: by 2002:a5d:584e:0:b0:20a:9122:2c3c with SMTP id i14-20020a5d584e000000b0020a91222c3cmr14551916wrf.193.1650898271550; Mon, 25 Apr 2022 07:51:11 -0700 (PDT) Received: from localhost (cpc111743-lutn13-2-0-cust979.9-3.cable.virginm.net. [82.17.115.212]) by smtp.gmail.com with ESMTPSA id f14-20020a0560001a8e00b0020aaf034e59sm11263209wry.90.2022.04.25.07.51.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Apr 2022 07:51:10 -0700 (PDT) Date: Mon, 25 Apr 2022 15:51:09 +0100 From: Aaron Tomlin To: Christoph Lameter Cc: Peter Zijlstra , frederic@kernel.org, mtosatti@redhat.com, tglx@linutronix.de, mingo@kernel.org, pauld@redhat.com, neelx@redhat.com, oleksandr@natalenko.name, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC PATCH v3] tick/sched: Ensure quiet_vmstat() is called when the idle tick was stopped too Message-ID: <20220425145109.td4b7npcom4xgcli@ava.usersys.com> X-PGP-Key: http://pgp.mit.edu/pks/lookup?search=atomlin%40redhat.com X-PGP-Fingerprint: 7906 84EB FA8A 9638 8D1E 6E9B E2DE 9658 19CC 77D6 References: <20220422193647.3808657-1-atomlin@redhat.com> <20220425113909.u3smtztp66svlw4o@ava.usersys.com> <20220425132700.GK2731@worktop.programming.kicks-ass.net> MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 1DB0D4002D X-Stat-Signature: o7y83c3cqypozup6r3ox51ypmi5e7a4r X-Rspam-User: Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=MD18qrcy; spf=none (imf12.hostedemail.com: domain of atomlin@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=atomlin@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-HE-Tag: 1650898266-571090 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon 2022-04-25 16:06 +0200, Christoph Lameter wrote: > It may depend though on how long the idle periods are. Do we have > statistics on the duration? Always folding the vmstat deltas may also > increase the length of the idle periods. Unfortunately I do not. I noticed that this situation can occur via source code and vmcore analysis. Kind regards, -- Aaron Tomlin