Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3762368pxu; Mon, 30 Nov 2020 09:43:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrJKSHk05jVSMxXvGrpdbqM75HaVkvfJ+j7F8HwcFxD4IlC4pFVTDnH6zeLeRmDQ7TUT5X X-Received: by 2002:a17:906:5a97:: with SMTP id l23mr22522970ejq.232.1606758214929; Mon, 30 Nov 2020 09:43:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1606758214; cv=pass; d=google.com; s=arc-20160816; b=neQBGcFN7DdvLAF/5ka+5Y7eNUCTtqIPvrO3SZ3uuhoIzpy5z7VOIcdQc+FfWM57d9 1JpimHHsEmNTY2Ix+3bJok24kFbpwHL6BwgZpNetKAQ8yi9OGlBOTLqv/Yb+GxTLft/Y 5J6FJA9M7W6P2Qjh3PmlGgD8X/cOJEvd1U8pRHeEc3KY0CgYBQg0+8rESVyKBY2l9T4A 4ySjkH18FwVTxA/32/yVPy3j1T6n4n3g/ts8TMwtLMryKItUcqWi8NHibtSkosYbu2ch qQ7tbaoKBMMx/jfhYYkO9ttubxrZTSL1O3BPODnfMl+cHY705f9thTvHJuiMt6wZTnO3 FT1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-disposition:references:message-id:subject:cc:to:from:date :dkim-signature; bh=LhQAGtxa++ICLKo7HZNmlkOcSBcyuTfC8SEXWXAlGoo=; b=CJJ/PEdyhmdW+GXOKYwU7bLR77B9QcgFHvdF50YsjZ5ICH7//KnXh1IpGIEVWtzKbP +RzTbpohKhYb616jiWJiJwUML3djJKJXOwGkSi1t8xRprFRmVNeC7ZZph1pH2Jrddcqh psxouBMlTUh6H27dOZya3v4sklaZWEXMkupLvpwxGUs8X+2hUKY8vnFVZM3oB2OKk8dM AvQzft5B1NixPpBhBOEmmlEp6Zcu/kqk2EXv27+BJ37E+XDQgkcTsW+8i/6t3PP1M8Gv rrpsis9WUXYke2XZzbgUg1DivQPsxCCFORLwmfKxEFSIXNAwl60+ArFn05e/3CYOYykB ApXg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=ld9jMDXw; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.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 a16si13018725ejk.66.2020.11.30.09.43.12; Mon, 30 Nov 2020 09:43:34 -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; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=ld9jMDXw; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.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 S1729456AbgK3Rje (ORCPT + 99 others); Mon, 30 Nov 2020 12:39:34 -0500 Received: from mail-bn7nam10on2055.outbound.protection.outlook.com ([40.107.92.55]:25568 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728451AbgK3Rje (ORCPT ); Mon, 30 Nov 2020 12:39:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NEXEiI57b70QPiIAZhOdUuwI5krqLB9A+AzalADcpiSR5ajX5e0cXoFHPc8Srgs9XNJQ4zXGiCFFLsTsBzW0Nvtjuvos9XuU9bXKFbNHCehpi8RQWzfKTQervhEIlVlyJ0FVfg3v96Kg3qA1VNJPNgs0o8QGKn6pABRhQhr+eFEUYITYOiYdAQFIbHVOG8xxjgCTD2lhZAivqaIyuVmUUCEmgA0Bqu4TzAs2huFiO15pbWWLxmeWUbtN/Mc7ftOVjEsjUel/mvMRFumaIXH/mGPZNk/2zr7j6zpu0bZ4MVZghar4I/EEf6OLwOgLGy9uzMyYFqfzePzhP7LqbcqxuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LhQAGtxa++ICLKo7HZNmlkOcSBcyuTfC8SEXWXAlGoo=; b=LwJkp1f+59QvE30qwEzUhV44cuwvbHamp7IVTgQC5JQrgX838R5YPZghlpiGAMA5ob0WnPcZFWtCGxaOOgYQQH0pfRYXQeXxMhgz3tEuH5Xpb83maR/np0QXGyoR8u+G4NYCLNe0fqw1BLdwaL1i7vrsWtf1FzVyLf2EalgC6GvJWP+KfPnynGtKQwq4fx3Skp/WYGfJHnMtPeTUp/oz+w2COqPydNMcxcsiknFiTWgxk2SscyjntNRsVNKU+90HE6PZ4d578iYKw1xbd0cca1+A6S63V0uUNfKX18kDoml31E9RWyDq4qpgyHkqwqC3UnO3GDYO+CnacEDFB8Bgag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LhQAGtxa++ICLKo7HZNmlkOcSBcyuTfC8SEXWXAlGoo=; b=ld9jMDXwpn9CS24ehCS6cw6F/bxmE5Vz0/w1EIEaQkcclBYQ5IO+4eyZW6KQu6RhujMboME+P8NzkovQKhNWACfUL4+7dqeJM3Q4et2fA4EONgME7Yt6Dh5a+Cy03cJqMM583mzaK/9hEupBwsJu6N6MGLQSWgdLetRODx6e15g= Authentication-Results: linux.intel.com; dkim=none (message not signed) header.d=none;linux.intel.com; dmarc=none action=none header.from=windriver.com; Received: from DM6PR11MB4545.namprd11.prod.outlook.com (2603:10b6:5:2ae::14) by DM6PR11MB4514.namprd11.prod.outlook.com (2603:10b6:5:2a3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20; Mon, 30 Nov 2020 17:38:46 +0000 Received: from DM6PR11MB4545.namprd11.prod.outlook.com ([fe80::4985:c74a:ffcb:6f40]) by DM6PR11MB4545.namprd11.prod.outlook.com ([fe80::4985:c74a:ffcb:6f40%4]) with mapi id 15.20.3611.031; Mon, 30 Nov 2020 17:38:46 +0000 Date: Mon, 30 Nov 2020 12:38:43 -0500 From: Paul Gortmaker To: Andi Kleen Cc: linux-kernel@vger.kernel.org, Petr Mladek , Sergey Senozhatsky , Steven Rostedt , John Ogness Subject: Re: [PATCH 0/3] clear_warn_once: add timed interval resetting Message-ID: <20201130173842.GB26693@windriver.com> References: <20201126063029.2030-1-paul.gortmaker@windriver.com> <20201130030828.GA1363814@tassilo.jf.intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201130030828.GA1363814@tassilo.jf.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [128.224.252.2] X-ClientProxiedBy: YT1PR01CA0010.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01::23) To DM6PR11MB4545.namprd11.prod.outlook.com (2603:10b6:5:2ae::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from windriver.com (128.224.252.2) by YT1PR01CA0010.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20 via Frontend Transport; Mon, 30 Nov 2020 17:38:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2555109f-9502-470c-e82e-08d89556c9dc X-MS-TrafficTypeDiagnostic: DM6PR11MB4514: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sk0XrfWDZH/MWPzi6gbun29fHbpe611Eb/PDJJyqtIOkuwdhxJ6S1oigJPKXF/HlXv7Jlx8hrBpdn1iT2UoRUNKVoE2FI0wAAvKrOe+oim67lsTeSLX+E5Xcr4piqvuFr/1VkBRyz/StfTf7+LIIJuH/RyNuZBYDSS1aVpJkZIpnyNglk+2Jts7nI6Fov5Si+xTMrEcBC4Ubiv3R9DaNwevczrs411SX0YwPcPuuyhQCQJnQwaRkAqQddsvHeU9vPe5PBxDuwiGAFP0fneOT5j8NXq0cDyMrBWRSDkxmpthNZdNwfnCI1WTFAXJrPT2CRWbVqNWu8HnmehhOFjzASg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4545.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39850400004)(376002)(136003)(346002)(366004)(396003)(6916009)(8676002)(316002)(16526019)(8936002)(26005)(54906003)(33656002)(186003)(7696005)(2906002)(55016002)(86362001)(1076003)(66556008)(5660300002)(66476007)(2616005)(52116002)(956004)(44832011)(66946007)(8886007)(478600001)(83380400001)(36756003)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?qUWGwC/u7FfwVuY92sdEwtSpf0ZY1Z2qL3uFY4dVm2kfrDhSa08sR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3WqrlqVx5lsJ1ZDryNdyDYv?= =?us-ascii?Q?7JMGKMIl9kVJrKMSonQgw3o0YO5KHJv1pVC6t86dmoxWJA+SYkwmlur/UeyE?= =?us-ascii?Q?sHp8?= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2555109f-9502-470c-e82e-08d89556c9dc X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4545.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2020 17:38:46.1449 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fkQOWlx3EXoXYZ1RxROg0LLjDCv6DGN7fX0LG1gXB09oxdSoiBeSl1wJk55or/QwxVTHlKnEIw6HjheTx1e5xJPHT2sHp/y1qZmtdP0+MpQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4514 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Re: [PATCH 0/3] clear_warn_once: add timed interval resetting] On 29/11/2020 (Sun 19:08) Andi Kleen wrote: > On Thu, Nov 26, 2020 at 01:30:26AM -0500, Paul Gortmaker wrote: > > But you currently can't make use of clear_warn_once unless you've got > > debugfs enabled and mounted - which may not be desired by some people > > in some deployment situations. > > Seems awfully special purpose. The problem with debugfs is security, > or is it no convenient process that could do cron like functionality? My understanding is that it is a bit of both. As users of rt tasks, they won't be running anything like cron that could add to OS jitter on the (presumably minimal) rootfs - so they were looking for a clean engineered solution with near zero overhead, that they could easily deploy on all nodes after the rt tuning was 99% completed and node images had been bundled. Just to be sure everything was operating as they'd aimed to achieve. I thought a boot arg (and the internal timer) seemed like a good fit to that requirement. No kernel or rootfs rebuilding required. And I figured others might be in the same boat and could use it too. Paul. -- > > If it's the first, perhaps what they really need is a way to get > a partial debugfs? > > -Andi