Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp713689pxv; Thu, 1 Jul 2021 07:44:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3beO1xgaAjsq+M88KgMFeYhNUT1UKOn5xe5B/af5rU8IBVkkCxmTuYntHb+8Agv6O1kwg X-Received: by 2002:a17:906:2d4a:: with SMTP id e10mr192650eji.87.1625150655994; Thu, 01 Jul 2021 07:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625150655; cv=none; d=google.com; s=arc-20160816; b=BKdUENiV0C9IkOMNEw21wOiDInvlr9zg7un2BZgrrVbOI+fkbO0ZocaFJ2y/7JwACs 3HmuH2/R9VTaYlPZQIVD9yvsMJY1GW5lQKlHtpMvIAKRhdej89tM6kM9UYEhhtWXDHLQ aRmcaOn7ksRjCCcgxfcDLiwAdo19wVZ3MxEI3A67t5nc74kkncLVdTlnHMbKdKppRC1/ x7iIwMI/T4IcnROTrZULxEbuYDCXv1oORBVSNePOqaDe/2VYdpGbOK54+OpmcZ0m/ukP GZqLtkzMq+uw93UREpG4KXDzrC+KVKi5d3EFWkht4WrsQE3xPlQIEToZg9QudTU+2fJ2 eCrw== 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=xcWhncPlJiTC2PDWf88C28j6bz/g4PJw2a8TdEO9B60=; b=QkXkYWhySDy+Obvi6L/7bWD1N4BkrDXB49FHRAygziXpDRr/hoQno7YvUn3llh9NaJ /JvQIP0iXJE+oLa9zLCjXXPFZX9F3b++h+/7nexcoHGgBO7FEVpjqKEHjyElnpI+CFV4 dTOarkmkexx1IceP2SmK5kXkZn59YcHaCjthYO5J6/gx8vVgbtWVN/+U+OMtakF2MTf5 oWPSyAs3mfxH2c4Trfd7s6djycbBbAW+WP9/CCqjDhwFc6vC/ZYFKdNS7HPx2eAR40ro vjY63/3MTbilIuRRtmbTKjvyPsUBUSYg1Es/fH+LD9WytY3n71wCLuTuQRCcRNU9BoqO B98g== 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 h9si23602818edt.358.2021.07.01.07.43.50; Thu, 01 Jul 2021 07:44:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232518AbhGAN56 (ORCPT + 99 others); Thu, 1 Jul 2021 09:57:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:58024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231915AbhGAN56 (ORCPT ); Thu, 1 Jul 2021 09:57:58 -0400 Received: from oasis.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 423CE61350; Thu, 1 Jul 2021 13:55:27 +0000 (UTC) Date: Thu, 1 Jul 2021 09:55:25 -0400 From: Steven Rostedt To: Joel Fernandes Cc: Paul Burton , linux-kernel@vger.kernel.org, Ingo Molnar , stable@vger.kernel.org Subject: Re: [PATCH 2/2] tracing: Resize tgid_map to PID_MAX_LIMIT, not PID_MAX_DEFAULT Message-ID: <20210701095525.400839d3@oasis.local.home> In-Reply-To: <20210630191145.64f526b0@rorschach.local.home> References: <20210630003406.4013668-1-paulburton@google.com> <20210630003406.4013668-2-paulburton@google.com> <20210630083513.1658a6fb@oasis.local.home> <20210630173400.7963f619@oasis.local.home> <20210630191145.64f526b0@rorschach.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.33; 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 Wed, 30 Jun 2021 19:11:45 -0400 Steven Rostedt wrote: > On Wed, 30 Jun 2021 18:34:11 -0400 > Joel Fernandes wrote: > > > > Anyway, I'll wait to hear what Joel says on this. If he thinks this is > > > worth 16M of memory when enabled, I may take it. > > > > I am not a huge fan of the 16M, in Android we enable this feature on > > all devices. Low end Android devices traced in the field are sometimes > > 1 GB and the added memory pressure may be unwelcome. Very least, maybe > > make it optional only for folks who increase pid_max? > > Yeah, can we just set it to the size of pid_max, at whatever it is set > to? Can you send a V2 with this update and address Joel's comments to patch 1, and get it to me today? I plan on sending Linus a pull request tomorrow, which means I have to kick off my tests tonight for what I want to send. -- Steve