Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1587537pxm; Thu, 24 Feb 2022 06:03:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdz8h7z06yPQn6LEK4/yBZeug5y40uSvpTi7/lly1m70rlxSQJ8bw4qWzMdXe48IbnPZOr X-Received: by 2002:a17:902:b106:b0:149:8429:88a7 with SMTP id q6-20020a170902b10600b00149842988a7mr2755563plr.165.1645711380182; Thu, 24 Feb 2022 06:03:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645711380; cv=none; d=google.com; s=arc-20160816; b=oeld549D6CAZqhGpenVsBljq2JxeGA4QlfTULCbD4whOLw85Y8Smd7Sf6+SkbP+fJ/ MwuTlM7jRXAz0z9PpSWM4ORnXYEVF9h20UiOLrWAu9lbQGhLyT9HaG0p7QxDj38F705A VkImu2mRSGoxhCEu/UJkIlZs/61SpMSimfSbOi8lh7Ji9I70qXAE+7Dww6RD5U1mZQRu D/63qAkv0fS0hZWcFMrk1idED8iSenm82T822Ybnji7ENp24V6eLLkf5PluZuN1gsGYv e2CTBQ1YdqeRIrRF/uN0lrnMBTLbS1vDHdzSwHUe7ZKAiIZFaDhwT9xqngNQGsXaYwaC uTvA== 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=n59iTTTvUM5s2yAJSDLZYrDtOiUjwvjJynjNZruqPbI=; b=ob822ePdV8YChY1ka+iB1++EtOLTjAnDV6zuTIYQLhO0bbzEsun4WA64hg+LHShCAk TEwIXQjMiMlV4vkirJxx5UylycGDwGdTkyYfFTS3Nj1+Lbe3n0+5E0kaf0nF5WbhrOW2 MzhNsB/0RGVapsEyFPMDMBH3+rbTu1IkEOKM24Aij9Aj0l1xV3v3jMwrHeEVhJ725UDx vFlK6WaTz1ucUkMvqPrr41sDs+FULKfIgMHAezj00U5Unm7Eo9pLII4PhyaKKHbx26mt rTiG59uMAYp8VxbhCy2J/IZURSF+GRfWkcZS7Vc0HXuVgCTs09sUNM71QcQtXGiOx58V iIPw== 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 b5si2627927pgh.367.2022.02.24.06.02.36; Thu, 24 Feb 2022 06:03: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 S234633AbiBXNCW (ORCPT + 99 others); Thu, 24 Feb 2022 08:02:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233821AbiBXNCV (ORCPT ); Thu, 24 Feb 2022 08:02:21 -0500 Received: from p3plsmtpa12-07.prod.phx3.secureserver.net (p3plsmtpa12-07.prod.phx3.secureserver.net [68.178.252.236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07B57329BC for ; Thu, 24 Feb 2022 05:01:50 -0800 (PST) Received: from localhost ([82.17.115.212]) by :SMTPAUTH: with ESMTPA id NDkinwwSF4g5nNDkjnn3CQ; Thu, 24 Feb 2022 06:01:50 -0700 X-CMAE-Analysis: v=2.4 cv=FvbAQ0nq c=1 sm=1 tr=0 ts=621781be a=9gipVNR6X1CoIeAWHwLoWw==:117 a=9gipVNR6X1CoIeAWHwLoWw==:17 a=IkcTkHD0fZMA:10 a=1lnWF7C_TSq6DCnCXLMA:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: atomlin@atomlin.com Date: Thu, 24 Feb 2022 13:01:48 +0000 From: Aaron Tomlin To: Marcelo Tosatti Cc: Frederic Weisbecker , Christoph Lameter , tglx@linutronix.de, mingo@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Phil Auld Subject: Re: [RFC PATCH] tick/sched: Ensure quiet_vmstat() is called when the idle tick was stopped too Message-ID: <20220224130148.xfpfmybrtayjncor@ava.usersys.com> References: <20220203214339.1889971-1-atomlin@redhat.com> <20220217124729.GA743618@lothringen> <20220217142615.xqtiydixvnumyvei@ava.usersys.com> <20220217163205.GA748087@lothringen> <20220218125454.utlgmuhijklzr3if@ava.usersys.com> <20220219154616.pwsvh445x3vn7ltf@ava.usersys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-CMAE-Envelope: MS4xfFBGZKM6OSunN06Tbm0Ztuibn0pwdeWrky4QSfM+VrazJuNvuSs6abyyBknpFpM+JZ6MJsNyGCzM4n2izYj9SjYxwtwkrIW71V7FVHu00c03zcm6oCB2 9jhyX1Qvrp17MncCXR8QXvHhgKcb0InD5siT1lafNsWD4zN8/aOUD2TZkJgLnRW10jyiUcco3NftAHFOYuS20v1IuKQeWtw6iZAIsfGxUdXA5dpsBXLwPSr1 518IyejJKIrzmiuoGw/iRvQ26lrwEbAONLZ2AEjDF9aRE7QaLJZU8A4JSN3YhOu2m1rr1fUd8w8t9xms1a4zyYMzTPYHAoxikCBImzZnCYzWr14J3rmbPxmV j+6tzaGQdjvzQ2seksPBcRLZAvAjmDVH2eMcS5Gb3J1/3o0nUBw= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,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-24 09:30 -0300, Marcelo Tosatti wrote: > > > > > 2) What if we are running task A in kernel mode while the tick is stopped > > > > > (nohz_full). Task A modifies the vmstat and goes to userspace for a long > > > > > while. > > > > > Your patch fixes case 1) but not case 2). The problem is that TIMER_DEFERRABLE > > > > > should really be about dynticks-idle only and not dynticks-full. I've always > > > > > been afraid about enforcing that rule though because that would break old > > > > > noise-free setups. But perhaps I should... > > Can't grasp the sentence above "The problem is that ...". > What rule? Hi Marcelo, That statement was from Frederic. Kind regards, -- Aaron Tomlin