From patchwork Wed Nov 2 18:40:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 1049 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp74155wru; Wed, 2 Nov 2022 11:40:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6DE+qcYCxKBySfJHApt5qDdBF/QWtnBbeQ0SXAHhTzqjOjwJ3dlp3Yy/UxuEq1zjHYIt1v X-Received: by 2002:a63:1041:0:b0:46e:c6eb:22ee with SMTP id 1-20020a631041000000b0046ec6eb22eemr22706691pgq.442.1667414432824; Wed, 02 Nov 2022 11:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667414432; cv=none; d=google.com; s=arc-20160816; b=agevbZ6fQrVvPCuG5A0wNKmtycElR9VzhopTlYwa3ffMeLyk4MIypmtoLt0fkO2oLy k/UDo48Qz+D8txLgHcpK4jSQKs43jkVbobD0XJsniHtSmZtNqjVinxwpeLW2fo7elcH7 TzrOezSLkeehA+72AnIW2HSlUrivP8/Hm50GvNeBq/OVIdq+pvdsT9gSPqZ7GR0seGaN KirXBgbXyYCrYj+ZGTPqjYUGpfA6jUjz8FTHABt+gPwELC9OWB+zh4huC44t+0LL3M/z 8LfKnsnzY3oiPgse2OzXhcTz42zzMfyorOFUkEpBDXS7AhlcjvYIK2YeUmG18jQPJOHF ONJA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h184-20020a636cc1000000b0046b1dabcb34si10619614pgc.765.2022.11.02.11.40.18; Wed, 02 Nov 2022 11:40:32 -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-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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748410756460761172?= X-GMAIL-MSGID: =?utf-8?q?1748410756460761172?= 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(-)