From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57548C4360C for ; Thu, 1 Apr 2021 18:55:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C31061130 for ; Thu, 1 Apr 2021 18:55:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239896AbhDASzA (ORCPT ); Thu, 1 Apr 2021 14:55:00 -0400 Received: from foss.arm.com ([217.140.110.172]:47232 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239199AbhDASpN (ORCPT ); Thu, 1 Apr 2021 14:45:13 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E2E66152D; Thu, 1 Apr 2021 04:28:19 -0700 (PDT) Received: from [10.57.24.208] (unknown [10.57.24.208]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A1E573F694; Thu, 1 Apr 2021 04:28:16 -0700 (PDT) Subject: Re: [PATCH 2/3] tracing: Use pr_crit() instead of long fancy messages To: Geert Uytterhoeven , Steven Rostedt Cc: Petr Mladek , Marco Elver , Linux Embedded , John Ogness , Linus Torvalds , Randy Dunlap , Rasmus Villemoes , Linux Kernel Mailing List , Sergey Senozhatsky , Linux IOMMU , Ingo Molnar , Vlastimil Babka , Andrew Morton , Andy Shevchenko , Will Deacon , Gary R Hook References: <20210331093104.383705-1-geert+renesas@glider.be> <20210331093104.383705-3-geert+renesas@glider.be> <20210331094007.77aa5194@gandalf.local.home> From: Robin Murphy Message-ID: Date: Thu, 1 Apr 2021 12:28:11 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-04-01 10:39, Geert Uytterhoeven wrote: > Hi Steven, > > On Wed, Mar 31, 2021 at 3:40 PM Steven Rostedt wrote: >> On Wed, 31 Mar 2021 11:31:03 +0200 >> Geert Uytterhoeven wrote: >> >>> This reduces kernel size by ca. 0.5 KiB. >> >> If you are worried about size, disable tracing and it will go away >> entirely. 0.5KiB is a drop in the bucket compared to what tracing adds in >> size overhead. > > Fair enough for this particular case, as tracing can be disabled. I think the same argument can be applied to patch #1 - it's hard to imaging anyone debugging an IOMMU driver on a system where a few hundred bytes makes the slightest bit of difference, and for people not debugging IOMMU drivers it should be moot (per the message itself). Robin.