Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp104024pxv; Wed, 30 Jun 2021 16:13:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQymLItsHXN264EnyvNTCGuyAHcVdnU1Zi01S37Ms1KcR7CntJDAv7sOD/tEO2qtouDjVT X-Received: by 2002:a5d:934d:: with SMTP id i13mr9743405ioo.164.1625094788699; Wed, 30 Jun 2021 16:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625094788; cv=none; d=google.com; s=arc-20160816; b=WPh5pMXBCot65G/NDgfkzDBgHUqoaMFQsKIm5szXmL+L7RFRu6SdH1kff52BNSfwnB J50ICDlVcqyGev9nTq8fTMgPINvHTvXadv1EnynOzskRthSeHE2Ti4F9VD7C/NJxLmg8 mmlRdrr6YMepnowlOJ5hTIeNZ1bfNKJxfi8kbb3Mn9giSA5scCi35hM3INzDA1iaNgG1 phCnsfxZhKnqR3U2Twr1N8t6RBGKROCvxph8UXfybU/iH2CO827ibOpmDiE/mW6ru+SQ 5Gy6BBw1mdk7x0+CsU8WYj4OBgS3VTtCPlVBDcj5Dv8azQ5CBaiO650FWSAbDAg85hku 7JiA== 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=vXWkRV74+0EGd2pfOK7g0c4mlqT/KmZTQJaoWvSARP8=; b=y+oTQms4Ze6kbs/zI58YibQZTQPWzTmt1Cedy71jM5QNkcsNmJTpl943q3T9hVTMWz vbopzSorL/TuRwMdm0ug8Y+PIa18wkDZGTNKHqUWO2D3Vq1Fhemw5ew5Zm2NyT9B5+yW qbuT9eHtanOrf9/fq+NflZ+xgJrblwqGB2oRo+3TWKQHamFRIEA1hUpIzsf0Y3A0rByN chlJPSP0P60Ai/wqvHefT7psGs7YWtyXDMd41uTI3x8nGUPBHatwB5PQd90nIyry9+qU SBz0U1dpzNtfU0C/UOKxugkszraU1uwrFzSnqr0sh9vtM3T6UkfAkUpGmV+QblxwnMni wPqg== 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 i23si2846029jab.10.2021.06.30.16.12.56; Wed, 30 Jun 2021 16:13:08 -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 S232066AbhF3XOR (ORCPT + 99 others); Wed, 30 Jun 2021 19:14:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:35638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbhF3XOR (ORCPT ); Wed, 30 Jun 2021 19:14:17 -0400 Received: from rorschach.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 23F1761454; Wed, 30 Jun 2021 23:11:47 +0000 (UTC) Date: Wed, 30 Jun 2021 19:11:45 -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: <20210630191145.64f526b0@rorschach.local.home> In-Reply-To: References: <20210630003406.4013668-1-paulburton@google.com> <20210630003406.4013668-2-paulburton@google.com> <20210630083513.1658a6fb@oasis.local.home> <20210630173400.7963f619@oasis.local.home> X-Mailer: Claws Mail 3.17.8 (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 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? -- Steve