Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1750927pxb; Thu, 28 Oct 2021 09:22:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyDxZdCwH/xCJTFYdWG1RPT0PpvS4GS1fAm7LBBBDVMnQ3ZeUU0KrD9Nc3C9ufCATFcfBf X-Received: by 2002:a05:6a00:b89:b0:47c:1d99:b75d with SMTP id g9-20020a056a000b8900b0047c1d99b75dmr5344210pfj.8.1635438133586; Thu, 28 Oct 2021 09:22:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635438133; cv=none; d=google.com; s=arc-20160816; b=gGcfZ40RVG/p2TnwqZMbbvAK9UIZGnpYFBYQ4QFAp7KJXLon2hoOaLFWrzyMNX+XzE /J+Tx+7Ie5/Kh2DNBF8RBtefMDIUPhwdA0nxkDIC8+/LcDBhqIbRCv5FE6QBqeIUfWNU UOP/Ud9VOhJtTzbJxQlwdfAn5S37GzJN4Dc9LWQWPwIJb52wDcQRGPaaDZOKxzwN6rIt S8RXBDr1xtKh/CqkDPngTq/NKLPIjVj1utzvqhIKBhLjPrutpAZa5XlBEmaSp5nAi3WV y4Z1wL1ypy9dBuP/DxQXtPeXZFigIF0Y+gg3uGNguOPuvHsI3Rd7fzV1bElhzwy3YK4R x9Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=Vwnbx2mDtAHgOvvrGeNNThr1nWlRsUMHYSvEascbsuU=; b=uo7E1D5Xns4g3VDMuf2M4HkqCOnOpSkjebrWAyd2kbDCJDbPGnpKOI4cL2efQDdXYO 6tsPKoczKFArcdJIMF+9XQSV8pNRznzeDoxJ9O2hVe+ZDScooiaqO6hThliASv4YBRsp /XsfeBOonC6ZC73jQIK0g5r041yYAdlA1d0Ztnug4YQlhkTwl/krMSJasi1smRx1cLqA zipvgnysyeoFaKsdsiSGtT9yOSHSpQ+JsRuJQ4Z58lPXlzR449aveUpWyOtETUxiD/hy WD6bCh+yYneFp66qUushFy7aP5ZxBJr97t6aNYTAVG3RdkzyiydQ9APvzJGcD6glqihI JGcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="rG/Y1pio"; dkim=neutral (no key) header.i=@suse.de header.b=PengEVu6; 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=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si4261290pgm.415.2021.10.28.09.22.00; Thu, 28 Oct 2021 09:22:13 -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=@suse.de header.s=susede2_rsa header.b="rG/Y1pio"; dkim=neutral (no key) header.i=@suse.de header.b=PengEVu6; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbhJ1QW5 (ORCPT + 99 others); Thu, 28 Oct 2021 12:22:57 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:33268 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230242AbhJ1QWy (ORCPT ); Thu, 28 Oct 2021 12:22:54 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 2C9781FD55; Thu, 28 Oct 2021 16:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1635438026; h=from:from:reply-to: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=Vwnbx2mDtAHgOvvrGeNNThr1nWlRsUMHYSvEascbsuU=; b=rG/Y1pioiNpQEKED1jtN6UQ07SPJtZt+KNhxwg4Eo68LZmgtWqB29oxtDVn0L1e9ejAy6V IaywZd2Fgdqtbz/AQFY87yxNzQ/JTzdrj4jEe/FjwJw2f04Nfn2Qm8RmxeYfXoJO7AZWCo WUAdl7DDfkMilcIRMB20UWir4YjZi/Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1635438026; h=from:from:reply-to: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=Vwnbx2mDtAHgOvvrGeNNThr1nWlRsUMHYSvEascbsuU=; b=PengEVu6JizYyWkbjbkiVolnuMOQ1hVv7y4KjnG4UOsrTt9zg2O5nsMFnJrvFNYdjRDaTP RdXSDJ1frPD+MKCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1DD8F13A9C; Thu, 28 Oct 2021 16:20:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id VrxAB8rNemEbTQAAMHmgww (envelope-from ); Thu, 28 Oct 2021 16:20:26 +0000 Received: by incl.suse.cz (Postfix, from userid 1000) id A6896589BD; Thu, 28 Oct 2021 18:20:25 +0200 (CEST) Date: Thu, 28 Oct 2021 18:20:25 +0200 From: Jiri Wiesner To: "Paul E. McKenney" Cc: Thomas Gleixner , Mel Gorman , LKML , Linux-Net Subject: Re: [RFC PATCH] clocksource: increase watchdog retries Message-ID: <20211028162025.GA1068@incl> References: <20211027164352.GA23273@incl> <20211027213829.GB880162@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211027213829.GB880162@paulmck-ThinkPad-P17-Gen-1> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.