Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp605556pxb; Thu, 17 Feb 2022 10:37:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwk1eC1ce5y3Tx8nf+kNyv4AfP/SILSiuSN4O6ty2J4FOoBCG8wfdzxkh/a9g7tJKiZuC5B X-Received: by 2002:a63:e648:0:b0:373:13da:1d0f with SMTP id p8-20020a63e648000000b0037313da1d0fmr3429866pgj.273.1645123021001; Thu, 17 Feb 2022 10:37:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645123020; cv=none; d=google.com; s=arc-20160816; b=Pju6HdOsSghmgEVkFU6g7vIXhpZvyzBc9zq0A/5R4a1n8bI0UuUzfoQj1ltiS/ZqXB jirXcF2raTBApjR/SGLYE2wtp6hWfcMKhND/MfV2G7VZWJNPIXfxLYU1fxsWk3T4OHIC 4Evsp2HpHe97VkNGkIbz1lhy41t9pB7poDkUyf/AYOmPQQW1meBtmLpSikhDq6ct7eGK DVD/ItFzCcmMtQo8rDbJ6hV5H58hzbUdEiSKJOYkQVwAzJlEdLuVGXq981i7hGCWimTK o7hFm2XPhku8YRJOwi+5yYRINKL25H4c5kl7N3fbuXtfh38iYXdcXkvJfMpQNiBHWoCQ 9xRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=gmMdcR//O2dBZw66KkW7pbBihiUto4ElkFr6IMim52Y=; b=abAo9lTk6CQbj2QemPjcm6nxHq7d7LUWCKc9I6zxS6dOn7QX09wQwMG29f9QTN6fJf F0xNxKpFtjmuVeqSu3mdsCCx9VVLlV4rtZ6nfH+EcAemMgM5kUlKGP34ki/JDeU3Cpfm dfjQ++pBZVZvN35IxpJOFHLsJI0peSaxHJ366KdnNZF5N8xViboOzgnllEf0hdOztRLh PfDAN+tc+ozxRrf+WFhkDGlkMKAs4PAZi1EZG+EDNKpQcxvQqfHWdnWCEjfoUMoKIVKB K/3Uymx1yHVjYubHNAgyNLnyGUj+9XIdCK0m7EHMc16uuo1tPwBWLmRNaAsvHWkmgQst UGYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16si362671pfg.298.2022.02.17.10.36.45; Thu, 17 Feb 2022 10:37:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242054AbiBQOsB (ORCPT + 99 others); Thu, 17 Feb 2022 09:48:01 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:59130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242049AbiBQOsA (ORCPT ); Thu, 17 Feb 2022 09:48:00 -0500 X-Greylist: delayed 137 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 17 Feb 2022 06:47:43 PST Received: from p3plsmtpa11-04.prod.phx3.secureserver.net (p3plsmtpa11-04.prod.phx3.secureserver.net [68.178.252.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D630615E6E3 for ; Thu, 17 Feb 2022 06:47:43 -0800 (PST) Received: from localhost ([82.17.115.212]) by :SMTPAUTH: with ESMTPA id Ki28n316uQeWgKi2AnNP8p; Thu, 17 Feb 2022 07:45:26 -0700 X-CMAE-Analysis: v=2.4 cv=Fa7yeLy6 c=1 sm=1 tr=0 ts=620e5f86 a=9gipVNR6X1CoIeAWHwLoWw==:117 a=9gipVNR6X1CoIeAWHwLoWw==:17 a=IkcTkHD0fZMA:10 a=r5m66G8ZfA9aYF3hFTkA:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: atomlin@atomlin.com Date: Thu, 17 Feb 2022 14:45:24 +0000 From: Aaron Tomlin To: Frederic Weisbecker Cc: Aaron Tomlin , Phil Auld , tglx@linutronix.de, mingo@kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC PATCH] tick/sched: Ensure quiet_vmstat() is called when the idle tick was stopped too Message-ID: <20220217144524.el7lwi45hwsf3ef2@ava.usersys.com> References: <20220203214339.1889971-1-atomlin@redhat.com> <20220216143412.dwxjlkq4w2zeweld@ava.usersys.com> <20220217125731.GA744754@lothringen> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220217125731.GA744754@lothringen> X-CMAE-Envelope: MS4xfLkWofOShUPdAv6/WMzdpwZTNw5VpOKWtXuAJawWtOZ7Rms7HwLXEwraAp/eqA7/7AcSC81edXfGXBhmpxJxyhkrNwi8JMZRHFXhuQv1hiJ/0kYhTy/s +aiknQJNXvx3+KiX+0CNIC/8IxRsRwn304CHwtTt4ve0Ibe1yRsLxlw4Mq6OsaJdpiaY6f8B+8sbtlGF22V+TvCV4CzAQkJj3TnbwLk0nhdYAFHZZPR9WK+/ tiZMQtciczwUoiGX9bs7RT+SyHqtzqIM/3VGnGDM2rGT71izV3WzdTE8queJ5ZTEC8jZ/U00jUXQHehO8cMl+D7czfcG74hFNh1Yw601RSWoNNsI8DNa8Z5D trS24NvvmF28cVGHalXRjNIOPWrVQvANrFO/vZf4VAALog3qGeM= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2022-02-17 13:57 +0100, Frederic Weisbecker wrote: > Hmm, but does it matter? The issue seem to be that we can enter in idle loop without > flushing vmstat. Or am I missing something else? Frederic, Yes, this is indeed the concern. So, the idea I had was to invoke quiet_vmstat() regardless if the tick was stopped or not. If I understand correctly, this should resolve the issue. Furthermore, folding of all outstanding differentials will only occur when required. Thus performance should be negligible. Kind regards, -- Aaron Tomlin