Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1586556lqe; Mon, 8 Apr 2024 13:30:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqvK1qrNbCiO0o8cK17t3TvDFVTSbGaCKDY+SBoMROBOur4fFcieU4APHJ/j35JSW3Ukc18UAQxKFOqkg0acP+eHu8+ASsoYd1PWzJfw== X-Google-Smtp-Source: AGHT+IHGQUrQ9WzSvPNy7MOKbv3Xe5RVTRMoLd98Q72IFiBWOZ9UhNLMkOIf882pPSQ5EBYfz9FD X-Received: by 2002:a50:d59c:0:b0:56c:3b7a:632b with SMTP id v28-20020a50d59c000000b0056c3b7a632bmr7424807edi.29.1712608203991; Mon, 08 Apr 2024 13:30:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712608203; cv=pass; d=google.com; s=arc-20160816; b=a25MfHyJa82ra2O+ZKY0mH2Q0pnFSV/fm1dvjU++r8cEp3FKY9CvlmhMwq4d3VHRuC z6AlTr/xFrmFbALwe/HZYkBqoVM/dK99p/d8YT0jbUOV1bqtIRCEBaE2EiixwZoPhNrf R4+ZsP3LbwBxDX9cB9ORHh0OFCXiq76a8CBguJM9yJ7SLoTAc5Zm2L53LS7ap2xdemdX 8prEV5GC64QUP8biseCkJJ/JuV4gmdMioTXSJWFnNsdFV6/6PjPRL97p43cyzCQX0Apt CvBNdAlRD1h3p/xzql7pivlWLG5UxaeeILjb+XoJhI0EEH5iqG7166KdoHaJX4ctC6bJ 5BzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Q6RVBecKyJI7y/U4UkpFf7gKakqKAFo72eCIpF0bdDU=; fh=Z89JVzvo2sS3mVUIG/tLJ7yMgPEMJNM3CVkIuewF8YU=; b=WuEZFKUaJQ9z7FFKCS7TAzOE4iEEZtb2XdZX9Ry6AmAHy6qPL/+9gIXBMu3QCtpqNb e55nPE97wlCSe3PuqHelTmpSJEfoO1elFf9ZkUX5uYq7OORd1xozqP6fuCIRfnp9R90R MpKjJ/EgFbjFdzK7GKZijOQJXeJhqyC81balS3dGELOBwnBakaCXPnQDa/qhxLCz0IJh EvQZ4dJqusRoS5QqSz0n8f/AlidOIFiEgasMlhPhqhM5JB6rBcdrOQVdhMiCkvAEiNK2 buTLYYATLpLcGq8jfZd8UfWz7B/6aD3Ixq4EyRq5pjNdHhEakPQPoGm9fGLGyIA2Q+OO sdrQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=lNCBDe4E; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-135907-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135907-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f16-20020a0564021e9000b0056e64f21501si1067027edf.530.2024.04.08.13.30.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 13:30:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135907-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=lNCBDe4E; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-135907-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135907-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B37681F231BE for ; Mon, 8 Apr 2024 20:30:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27D27146A9A; Mon, 8 Apr 2024 20:29:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="lNCBDe4E" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4956D140E2B; Mon, 8 Apr 2024 20:29:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712608197; cv=none; b=eshPq4E31cE0gkLJe9mg+fvB2aJFch/M8OGAZ30b8N+z/QpL2l0u62XRbdTfGA8eoRLBp0wp5JQ7DKJGrsYhuPP0PRszQT66RH3S77COGDetgn+gkvR5azfIOVDYyoMTRo16+Guog2q4QjUtzH3m36yD0KzwHwzizjdDPduKOEw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712608197; c=relaxed/simple; bh=bOOcY1a8hc61A1P59kdD85Nt8/pNDslGOFAv6yD/KGs=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=m/zUbhGzj9jiKUQ5KPp3YcIjMsbkzSUh+/bb0yKP6hcqn4k19zegJ/yfN3vIJSZB5v/phyH1yQTWIAosz5jVlN3zYfys0rnWVy4HbNw6Cfb9CUUPQR51+GjHdqRYITIXMxrlDszk9Vd695+mI54Ao11La2OQNAqzs/txj8r8XWg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=lNCBDe4E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FEB7C433F1; Mon, 8 Apr 2024 20:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1712608196; bh=bOOcY1a8hc61A1P59kdD85Nt8/pNDslGOFAv6yD/KGs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lNCBDe4EMHQ8aPMQRps4rLqu6wveaKyvcbKvi7qSpuxklpcDi7bkF9eSzb603nAfC sBuSPnCWUVq0ulEMLkktbxQ3dp3iWXlmy7avZnNAif4LVCc0VC/Un0iH08rJ+Ik6uI ydzF063ys+yJYWG+9hMzWNAgo8hHcKjnzKaNfAuc= Date: Mon, 8 Apr 2024 13:29:55 -0700 From: Andrew Morton To: Michal =?ISO-8859-1?Q?Koutn=FD?= Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Christian Brauner , Oleg Nesterov , Kent Overstreet , Kees Cook , Tycho Andersen , Jens Axboe , Aleksa Sarai Subject: Re: [PATCH 2/3] kernel/pid: Remove default pid_max value Message-Id: <20240408132955.70d10145d2ea1b0b12b7a5d0@linux-foundation.org> In-Reply-To: <20240408145819.8787-3-mkoutny@suse.com> References: <20240408145819.8787-1-mkoutny@suse.com> <20240408145819.8787-3-mkoutny@suse.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, 8 Apr 2024 16:58:18 +0200 Michal Koutn=FD wrote: > The kernel provides mechanisms, while it should not imply policies -- > default pid_max seems to be an example of the policy that does not fit > all. At the same time pid_max must have some value assigned, so use the > end of the allowed range -- pid_max_max. >=20 > This change thus increases initial pid_max from 32k to 4M (x86_64 > defconfig). That seems like a large change. It isn't clear why we'd want to merge this patchset. Does it improve anyone's life and if so, how?