Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp306755rwi; Wed, 2 Nov 2022 12:08:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM507qTLwO57M976UgtbfOxXTeMd8nrpI7abyU4tOBQ2a/KR6IUyDF897RnFL3dbGPcY0Hkl X-Received: by 2002:a50:fa96:0:b0:463:56ff:4d3a with SMTP id w22-20020a50fa96000000b0046356ff4d3amr18590406edr.345.1667416132328; Wed, 02 Nov 2022 12:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667416132; cv=none; d=google.com; s=arc-20160816; b=wJlB/kiSX+I2clzsd8lCQa/sO2fRe/t4q8npasE5q+I+0io3fgXUganFrmF8Q9h5tz SYnvu15KEbLAmcMb7M69SzucQDLIGMgwpCIDlleo4LwjQG5/mvSssTZ0iQgDdsrP1Han eRjRCBILSUdj6Zl9pGiHztkHFW3Cuo1OUa2mqueaTxP+YsLEH9Xn+PIbXpAPABTzSmXv e7CS1qtDi79DC4tbRLxUZhAEbC9HGs/3Pn2Kg5Bez5BXAsCKGQd5VXD3QFCY2wHYlXNJ Ltp3ziR+grjT2x6GdmTfvJpTXNu+QlMelHskSHcs6DSh292HkuIO6cbWhvNzeWjZ+wDO Ww7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=a8RlNInQbJks54xE+9Yhg9elKFtDH4agpVM4GyELa/0=; b=nMeR7nwarcSi4LZEX9TMQQU+7f4K0rPTdwLzBx+mjU/0JokCCEqLhKv+qFYfXgaKv2 acx9J9MmoUBrrdd6/dOe8ziiPM4FnfmiLsLZ3ECXVXuscF2mlj30eX0x0yMRCrp1Lyfj 6k7cIVYhgdGmOF6+WBwOQygugTI+Wna9tAg+ZTECtizHQiKSMFDo/gbgTYNCiCF73Ela dZ7X25F71grqy5I4F+CA0kK9DIIWQ+HWIuHzb5HbuCBaFbcCnp1rWAdd7FUi4tL7SCZR utmz0KNU71pjQRpNCCT+fXUatoUogpHSf2X1uwiJKc4FLeRhpUpAGOe7lE59CaTesJpj COvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UsPjmCBn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr40-20020a1709073fa800b007ade4c97618si10691367ejc.930.2022.11.02.12.07.24; Wed, 02 Nov 2022 12:08:52 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UsPjmCBn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231152AbiKBSkN (ORCPT + 99 others); Wed, 2 Nov 2022 14:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230526AbiKBSkF (ORCPT ); Wed, 2 Nov 2022 14:40:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF4326571 for ; Wed, 2 Nov 2022 11:40:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5F37F61B30 for ; Wed, 2 Nov 2022 18:40:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6D37C433C1; Wed, 2 Nov 2022 18:40:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667414401; bh=rSlJsz8L+iVdYDBWiie/50uZNNbk/g3s4X5YLB9bmuQ=; h=Date:From:To:Cc:Subject:Reply-To:From; b=UsPjmCBnMwc6PutBA249bVrQdC4loWIkz6QEHZ5HhCV7By16/dVWl1aoJrnTCY77D BW+Oidu6h9oSfJbW49genLjeIbHu0XK2l2v/5vTlNX3tXAMzbgccNKk9y+wi0Wz52W GYjXyLqUIFoVrIr6DsBkBBCjIiQp4GXuZbhaoZA2iq934dIHFsGygUbqFCKMoUq7zX pyC7C058WZpOISiestzR8JQ4oH3vooI94X2Zbel/309lYHMuReHR58SQ4qf80ShaiY EqVOUy7j4WCvQ3PfwVLAwQX2ymkFMJOZKgxctltPeTv2TYlZFRSkHskhSFaKhO3Hu3 V/O0J95Ymi4dA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 5E4AE5C1813; Wed, 2 Nov 2022 11:40:01 -0700 (PDT) Date: Wed, 2 Nov 2022 11:40:01 -0700 From: "Paul E. McKenney" To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, john.stultz@linaro.org, sboyd@kernel.org, corbet@lwn.net, Mark.Rutland@arm.com, maz@kernel.org, kernel-team@meta.com, neeraju@codeaurora.org, ak@linux.intel.com, feng.tang@intel.com, zhengjun.xing@intel.com Subject: [PATCH clocksource 0/2] Clocksource-watchdog classification and backoff Message-ID: <20221102184001.GA1306489@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Hello! This series adds comments classifying bogus measurements and adds capped exponential backoff for messages that are likely caused by overly busy systems. 1. Add comments to classify bogus measurements. 2. Exponential backoff for load-induced bogus watchdog reads. Thanx, Paul ------------------------------------------------------------------------ b/include/linux/clocksource.h | 4 ++++ b/kernel/time/clocksource.c | 2 ++ kernel/time/clocksource.c | 31 +++++++++++++++++++++++++------ 3 files changed, 31 insertions(+), 6 deletions(-)