Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp729306pxb; Tue, 19 Oct 2021 11:42:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUdGUv1wLAbm4JR6CP9WNJVIuP8OqA5XyUPM1Vvl4Oy6W5YKKmJEn7LYNgzr3mmA7LLnsW X-Received: by 2002:a17:906:39d8:: with SMTP id i24mr41673512eje.49.1634668977930; Tue, 19 Oct 2021 11:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634668977; cv=none; d=google.com; s=arc-20160816; b=cJ+vV3o2y2XNAivD0NKtD3XFJNNtOOJ6mMjneWGUYXwGQNc/SLhO+tL3+VaJecntEo Iyhqgv5/BrxSG+QB8nyQawZEqZ5LeS28ebpLRrG5illXbL50bQMGrmY7OJ9TKZ/iEaNy Xg6nRXcBLOjj5OTRcHoao3/MVimEawNo5wRpBjABWyVfyuiMXlqKSLuCmCcOXe9rlzBa nM0bIG15rGeT7QKxSM87XKruGIJY8YElZo+7is4vL9w8o96RlcesxQkb4lc1kpqt+Pu+ O+pWoExfNQ6YL4deVEYekniYSCT2uO86Wpt1D9QnyG/1QhyLLe6/EA1+LROW39omfQNe 1OUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=94g6irLcIPDm83jk9iGHWgrTZT8Pz0fV1C6UDNIDNfI=; b=gxOkq3MFusWCHaHiOWaRceaVf9+kez4qLxWFHCsDq3qEq21W64XM14liUQCNXsxax+ P76JSYODOupyn4d5VkAQ/A2ojekmpfLCyi0hAtchW53cJ7PAsUGY9BOteTvArk9GvJ7V 2Iqkb31t+cBrsSwLmUXg9s8osZg/ir8s3hWijphzHmz/uWs5b9YLAls8GwyU34pDxiMb UaIFmoZlhmGq9hgrvTCvTOm4FXStAxydWDoCU4H9DjRt32Cr8dMETmJg/GT6lEu7Pi4m ep1BFn3OWdwnHjpBKRKWV54p+gTfnjXv88fxVOS1jOt5vQlLdFd1e2gG3vajbk8xkFxE oaXg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ht13si34005413ejc.771.2021.10.19.11.42.34; Tue, 19 Oct 2021 11:42:57 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231783AbhJSSkx (ORCPT + 99 others); Tue, 19 Oct 2021 14:40:53 -0400 Received: from mga17.intel.com ([192.55.52.151]:51110 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231586AbhJSSkw (ORCPT ); Tue, 19 Oct 2021 14:40:52 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="209393241" X-IronPort-AV: E=Sophos;i="5.87,164,1631602800"; d="scan'208";a="209393241" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2021 11:38:39 -0700 X-IronPort-AV: E=Sophos;i="5.87,164,1631602800"; d="scan'208";a="718503564" Received: from tzanussi-mobl4.amr.corp.intel.com (HELO [10.212.76.147]) ([10.212.76.147]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2021 11:38:38 -0700 Subject: Re: [QUESTION] Performance deterioration caused by commit 85f726a35e504418 To: Steven Rostedt Cc: Yang Jihong , linux-kernel References: <992d3b1c-70db-5cc7-8400-39caa5d502d5@huawei.com> <20211018093731.2dd5917f@gandalf.local.home> <19e4222c-c9ac-5c1a-0c3a-b8bfd3524ab7@huawei.com> <20211018225112.3f6bda99@gandalf.local.home> <20211019141002.386e7b6a@gandalf.local.home> From: "Zanussi, Tom" Message-ID: Date: Tue, 19 Oct 2021 13:38:37 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211019141002.386e7b6a@gandalf.local.home> 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 10/19/2021 1:10 PM, Steven Rostedt wrote: > On Tue, 19 Oct 2021 12:30:28 -0500 > "Zanussi, Tom" wrote: > >> So anyway, as far as the histograms go, I think optimizing the two >> changes in 85f726a35e504418 while ignoring trailing garbage can be done >> without affecting the histogram correctness. > > So, none of that is exported to user space? I meant just that any optimization of those two things that ignored the trailing garbage wouldn't affect the histogram keys. But yeah I think you're correct that ignoring it in the case of saved_cmdlines wouldn't be a problem either but it would be in the case of max_buffer since that's exported by the ring buffer. Tom > > -- Steve >