Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3697643pxu; Mon, 30 Nov 2020 08:29:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYB355WSh9ZucyFP+fuPE4ofVLSF19XSdUXGv0W+hMYFewFjtkpFhNU/YCDFOYecU/ECIo X-Received: by 2002:a17:906:3807:: with SMTP id v7mr21441899ejc.441.1606753773096; Mon, 30 Nov 2020 08:29:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606753773; cv=none; d=google.com; s=arc-20160816; b=iVPDmGL1lOST9zcpHICQo6gxijKapC6OImARGpeoaYA7aqSoprCDecqRdopGUgUQQk VRut9bf8Nprumw6EHCxJchEubWAPU84PrLbU+76S+kAeU41taPOaNhKAW8e2PH7v8SBe ei0hTl0xN0zjzSesX5ZMH3ri1pv9/2XCHuRMvLI9LZH2alyvByBr1i9X16tCeiAjUpUx Gq/MpQvO5rLKS0eNuVdKziEPDOhT35S2ZnZMZn0QibJMRcmDPQeil4XDN84JXBO4Lkqn +ztK/gFzO5xYlxgXHLIKdVmK9Htx29BzpDKNpMxCB6P2X6Ij+rLb3xxYvADSionMZ52Z e6AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=YW27TdGBAYb3Nea6zyoh5MWqFnE72itcaNqVRTRUqwQ=; b=TsuqmCmAUK+LfSGLLvabW2p2BHw6wM5JZun7G7THMouU2iGbCqXzyAV4SzWj7WJxce ipxqhcgy/+hIJhF9bRmY3B5WwSQZqB0SsDYQAqjvLRvw5w4mb1MKnycgfNCtpggdEy8X qOquk29A1fi5+2WrziU8v4P6zkbQ9q50HY1ToP2bgOWJywmiRNfyaSCgOH9AyYK77JO6 Eh9sNNt4fD3kcfOojDDFmN03fHP4QQpyZiEgSyAYPJh6vLUIqV/IkpFH6aRrGDx1lD8r EYxK0o1p9bJo9I+7cnEXmJc1RqeHp2AkkSJh7yLMac/BW7tnsp+fA9UDBt8B8kkRMFEX pwzg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d20si11060470ejb.512.2020.11.30.08.29.09; Mon, 30 Nov 2020 08:29:33 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728078AbgK3QZb (ORCPT + 99 others); Mon, 30 Nov 2020 11:25:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:55216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725859AbgK3QZb (ORCPT ); Mon, 30 Nov 2020 11:25:31 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AD8D206E3; Mon, 30 Nov 2020 16:24:50 +0000 (UTC) Date: Mon, 30 Nov 2020 11:24:48 -0500 From: Steven Rostedt To: Petr Mladek Cc: Paul Gortmaker , linux-kernel@vger.kernel.org, Andi Kleen , Sergey Senozhatsky , John Ogness Subject: Re: [PATCH 0/3] clear_warn_once: add timed interval resetting Message-ID: <20201130112448.5a356ff3@gandalf.local.home> In-Reply-To: References: <20201126063029.2030-1-paul.gortmaker@windriver.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Nov 2020 17:13:52 +0100 Petr Mladek wrote: > I do not know. Maybe I am just too paranoid today. Anyway, there > are other possibilities: This is another reason I think the resolution should be in minutes and not seconds. It would be less of an issue if it could dump all warnings only once a minute than once every two seconds. > > + Move clear_warn_once from debugfs to a location that is always > available. For example, into /proc I was thinking of /proc/sys/ as well. -- Steve