Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2242089rwd; Fri, 16 Jun 2023 00:54:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7lAVTmaN+/7iV23owru+i9Wc0O4lv1VlHVL2Fhw/DJEx8CM3wVJNBYJhfYKfY9VOETSs8i X-Received: by 2002:a05:6a20:6a11:b0:110:2e00:3d59 with SMTP id p17-20020a056a206a1100b001102e003d59mr1934365pzk.23.1686902063293; Fri, 16 Jun 2023 00:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686902063; cv=none; d=google.com; s=arc-20160816; b=XJ4dID3MC5JNCCTErQ4P7zW5DAwLLL2ubUVKXMQgUmlSSq01r2seCIRNOk7uVP4TGV TdFC5kdzfOBUrOyRqSDaCRYz95g2MfEm395EEmM4jn79saSEhTEYaKHnR6yNDGOT2kMW UlnqlL5qXPhwFeA/PbVpOiBILRKsPWa41QU7RkZ00YYPTGcrCnjz1WkUkKwZQozKL9z+ 2lWPp2XRIf1O3qc7+ZhQATXyUPnTbsCNU5eZzBAqQ05StS0L5Yjtfhp2QAYByjUORFbb FunZRWqSvEglfU6XW7058mL0CDcG3PqI66+7bnLOrpG2MOGW5BEFA0cZ2AmtETi0OpDJ p+Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VUKVMQ/tdBCg2U0T1ZYJ++Hxjl61NY9T3a/iTMVp5H8=; b=Win2OC2VmfXCvZ7Q9BKftICDhQ44Ap0ttEonQsOm/W60AaFIpyObrX06lJYgj1QxfU NAeSyGBdRz9+w8PLcLkQ43Y8vtIySPq4G3aurVqSGdLdPa3RzsPnvetHjnHb6Rc6tEsB OzEr07z5HPSDxp9g8+7iZND6Xa8mdIrFV52LujwLsTroEZcOpD20lRNhsCVS2ypBArMa 3HbyPcAge3vk4NPEqDjV8CZDOi2cdhNNdWfnQiKfiUl2AFSfobcD4kkbuaEk4G+MiWVI nyGZICUXpoblmBldQthuMsbGdIj0uomomX0AfqHryBuOAKSiXFqP2mcfzLkUWt2LUTDw Nm6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="aVQDx/Io"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id km7-20020a17090327c700b0019e57f5a5aesi3590501plb.567.2023.06.16.00.54.07; Fri, 16 Jun 2023 00:54:23 -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=@infradead.org header.s=casper.20170209 header.b="aVQDx/Io"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245369AbjFPHpi (ORCPT + 99 others); Fri, 16 Jun 2023 03:45:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241507AbjFPHpe (ORCPT ); Fri, 16 Jun 2023 03:45:34 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA10C271E for ; Fri, 16 Jun 2023 00:45:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=VUKVMQ/tdBCg2U0T1ZYJ++Hxjl61NY9T3a/iTMVp5H8=; b=aVQDx/IoG095Wu8qaiiqMieFKG fDGI7PXV7fM9jRSMqL+/t/pVbgkPnjwGD/eZBoOqh+NDcdSoyU6Iv8KbPLEWs2PvNr4GTOPj0dkV/ wZrA1oGDaIUr67tJ7teEAllPfwUCdeRze8GcUUELxi14ko3Jfudw0/dGY+FiUAYowGqdSmGfSEOIs B2KbJ8EMkW4I6AhzUox8rUmb92/gErc/rExiQM/CMX9/VzzQxSclLRfA9137+JyKdG5MJQX7eZp3J 3yY24l9Py8wVd0cmMMSjknS5qhaZNfe10gpCGmq3z7kZrZ4U9Znv5RPIWvcAEwVf8ibFedfnS2P6R 4iC5wuLQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qA492-008gMg-E8; Fri, 16 Jun 2023 07:45:20 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 4C3CC300208; Fri, 16 Jun 2023 09:45:18 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DCAA3245F1E40; Fri, 16 Jun 2023 09:45:18 +0200 (CEST) Date: Fri, 16 Jun 2023 09:45:18 +0200 From: Peter Zijlstra To: Bart Van Assche Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt Subject: Re: [PATCH] sched/cputime: Make IRQ time accounting configurable at boot time Message-ID: <20230616074518.GW4253@hirez.programming.kicks-ass.net> References: <20230615203745.1259-1-bvanassche@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230615203745.1259-1-bvanassche@acm.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Thu, Jun 15, 2023 at 01:37:26PM -0700, Bart Van Assche wrote: > Some producers of Android devices want IRQ time accounting enabled while > others want IRQ time accounting disabled. Hence, make IRQ time accounting > configurable at boot time. Why would they want this disabled? IRQ time accounting avoids a number of issues under high irq/softirq pressure. Disabling this makes no sense.