Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1878386pxb; Thu, 28 Oct 2021 11:45:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVJrYrOxIT4f1pU4m8+0dICumTYYITuT7/ugNKU0EuPS+AxPl4s5/cU4+3C1Y4RzkWXSUY X-Received: by 2002:a05:6402:2552:: with SMTP id l18mr8388969edb.370.1635446726031; Thu, 28 Oct 2021 11:45:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635446726; cv=none; d=google.com; s=arc-20160816; b=uRZLf9FQ/HNr3V4O8tVNoE9D+/EKk2enEpG/94bmUsk9S6hv1PFetp4/6Emyxg+TF5 BwMEwcxPDzp1uv0MC1vdNNl/C+U9sfMOkoHFgaZhLmwiFO2nNZpSuB646G8qLrIRzS8a jVl4yUZG9YiwzS+ht7343MDQWRB7cz0sweEVmgSlEcT8nGHWkYgwmG7M0GXBFrhUXmlC 1ydgS4pVReTs+CdpKodZLfO9Zefqb2SLsTYkfZjc6O+LhLtj94x9u/K0ozZh3UhoAwqI YXV745IOUpHQMl6Q2G4TYwAglGRyt87WmsibwQn/vG7Xe1j2VRDQL3MUmHJZjja1DBn3 Ug+Q== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=VFa0ACHeEurLPFN+A1cd/VG0adQlHgbLkK0ccKfkxFA=; b=rY1ndJX1MWVy/v994ZBgXYwEENdhKhdE045oMZHGip3aFobz89BiNKF8tP5sBB6JEG hKq5pDd48qTYnXhS2AOqnPdVEx7xV9d/9M5WPKJEmLifcv4wUSIR1aLkBU2vwJqhdZxl QVkYahykJMjv8DgdWmFNrsYwAxaDmjrvf8MQ21tkt4pkvtyI8zMA+eRNXRzTA+ns5EjH wZbDa2ABhzDpYlF2z13JtSsh6kkcAEIjsfXYK9g9mw96mKLHV6V0hFnknSrSogz6YIim FVpZNU7t3//3mH7SnPs97qzRL/gnmXMBm7t6QEkz/E8OpcKIWDGP6Y9uZXLdlzOB7vKb JXtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yl0d6Q4z; 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 ho11si5061279ejc.156.2021.10.28.11.45.00; Thu, 28 Oct 2021 11:45:26 -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=Yl0d6Q4z; 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 S231209AbhJ1Soj (ORCPT + 99 others); Thu, 28 Oct 2021 14:44:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:50554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231163AbhJ1Soi (ORCPT ); Thu, 28 Oct 2021 14:44:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3457E60D43; Thu, 28 Oct 2021 18:42:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635446531; bh=SboHfhcSgEu89q/WeWXtm8dc6nU6gwSG0s9zPHpPbC8=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Yl0d6Q4zYZsWfly6S/R6iVDY+GoeHwrPdZ7Bjn+zgrOfGAdT+eReQQfhmTsrsdHIQ PSureovShXFFLqphcrYeesHwNrZgwQdCEfhE7OIOyWHAvt8XAth2KzCQnW73DDTllQ D+BMUGpk9kVjRFSP3TyWY+nO9eNKBX0y11XfoA/PnYd7MABRERr1DGmzPcU5xoAGEd 4Igv/TtxPm7mjJvoCBqhsMT1/KbBYtHi1nB15NwEYq8mYnTgMtuQ91ybjT5PdqJncw +/Y26bS+Jzupr6azPaoAZTaPbVJkzIjpIrhXnJLN9W+c18d+50r0LFo+4eCbr7YQrl KBffNa3rSMvfw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D67395C04B3; Thu, 28 Oct 2021 11:42:09 -0700 (PDT) Date: Thu, 28 Oct 2021 11:42:09 -0700 From: "Paul E. McKenney" To: Jiri Wiesner Cc: Thomas Gleixner , Mel Gorman , LKML , Linux-Net Subject: Re: [RFC PATCH] clocksource: increase watchdog retries Message-ID: <20211028184209.GH880162@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20211027164352.GA23273@incl> <20211027213829.GB880162@paulmck-ThinkPad-P17-Gen-1> <20211028162025.GA1068@incl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211028162025.GA1068@incl> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 28, 2021 at 06:20:25PM +0200, Jiri Wiesner wrote: > On Wed, Oct 27, 2021 at 02:38:29PM -0700, Paul E. McKenney wrote: > > I had something like this pending, but people came up with other workloads > > that resulted in repeated delays. In those cases, it does not make sense > > to ever mark the affected clocksource unstable. This led me to the patch > > shown below, which splats after about 100 consecutive long-delay retries, > > but which avoids marking the clocksource unstable. This is queued on -rcu. > > > > Does this work for you? > > > > commit 9ec2a03bbf4bee3d9fbc02a402dee36efafc5a2d > > Author: Paul E. McKenney > > Date: Thu May 27 11:03:28 2021 -0700 > > > > clocksource: Forgive repeated long-latency watchdog clocksource reads > > Yes, it does. I have done 100 reboots of the testing machine (running > 5.15-rc5 with the above patch applied) and TSC was stable every time. I > am going to start a longer test of 300 reboots for good measure and > report back next week. J. Very good, and thank you for giving it a go! If it passes the upcoming tests, may I have your Tested-by? Thanx, Paul