Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp61244lqj; Thu, 11 Apr 2024 09:49:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVh2UCjBcNEIycsc084SKei5ewoUzrR9PHlsYUb5fiU1FoGEJdviue0+QnzbpHfn9E71oL5dm0l7R7JSrLzf7ocLbdLeh4an+NpR0KOjA== X-Google-Smtp-Source: AGHT+IF3h1ArU72Z1sdpg1PqoagGljJ8mAlkf4qOim39mqczhx4H/OW2EcsP0PPcGwMhSnaWjb8c X-Received: by 2002:ad4:4e0a:0:b0:69b:135c:514b with SMTP id dl10-20020ad44e0a000000b0069b135c514bmr245184qvb.48.1712854197825; Thu, 11 Apr 2024 09:49:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712854197; cv=pass; d=google.com; s=arc-20160816; b=AxCdKx5Z1WKCpyFcWcSggU/fa+HShTT0eQuZFP1q1tIIBvc2G4AMwHZ5IjbLx0e5tw 41v1BRIi78vRnXrae8fDIE7VZAUc0wwTL0qJaJDm6mrUPaCJXTpQ6H7z/tCPsdAX4VQr C7d7TWpc54c2Mbyv5tPAZ/f1yJpx321Hy2+kk6fOQ4qGoSXNVoMk7C4iHECsKCNQT9K0 Rh6vEoX3KnRU9I3NH6S9/iUWObntYy+bVXcMRmDjMpmt+ApiJv1Dh/7+6S+lYUAQL6mt 8AyHSGojhnteaAI9InqoDbAxVStWmpFo0AYyNCCGG4xr4/MjciHmHyUNjGV32MzsjvTU xkyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=G2XByNyMRfD+PxUu51kh1WRBKG3twlIy8uQsFNS0GR0=; fh=VwDHVOlQRGHdiD1Akg2dqD7Z9H8WVuHcy92RWgmxS2A=; b=e2bR01RiJ3XMszD4grx3fZeKogFBMso/6miFZRBNfQkUIsWs4fm0svYjKneA6SQozd ++VDrWrL8ogCt7dPD/bnerhynmq+kOJA3NYoUNrhxtpusQRI1o2EW+neQZmvfUJf61DB GAM+qMO1QgURDJX5PfgjsmwXUlbCPja9bmj3v4vgkngKuLlx2piu/OyP8jaXxPcHgddC fYQGbrw9X+AxyF6aASITcWXYuE37B2j6eq9IfvS2HIdvmyzrJHvvnNI5xXPhZyoG/wLX PUrnz5bkAAjBq/gcaNNIypEdyoRL9s2fgyA++m6S9HV5c7tIkNFsj2SOij6LfKh2SMsm 6GLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mvILCXvr; dkim=pass header.i=@suse.com header.s=susede1 header.b=mvILCXvr; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-141078-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141078-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l5-20020a0cc205000000b0069b1f286c75si1805830qvh.444.2024.04.11.09.49.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 09:49:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141078-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mvILCXvr; dkim=pass header.i=@suse.com header.s=susede1 header.b=mvILCXvr; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-141078-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141078-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8989A1C22DB6 for ; Thu, 11 Apr 2024 16:49:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB1EA47F59; Thu, 11 Apr 2024 15:40:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="mvILCXvr"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="mvILCXvr" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F89C1D6385; Thu, 11 Apr 2024 15:40:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712850008; cv=none; b=A2g0PTKmSFjS1jryXsLO8gyjTc04o2arCgood6WBpqIxp/ntSy9oTSgglReNFtzZANyKmgrcuS47fNFoNRp72MSK5ZuIOKBRW1xL7ZE9zUDqSem06fXD4VZYEGPNajTyNb91GJ1BCsrln8JJChVTIAI9NUNW8kPWgO75cHP7h5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712850008; c=relaxed/simple; bh=oluwa4uBbq2SQ9awi8ofoYyeGu4WJDGRc+3ri+ChAIE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ue0nyFvq5JLDCnQTVxDc9NwTkubiRvXXGJY6aGqPD0aWSJA/J7nosv6yvrGvXcioBYzmYLuJGKZ3UnGat6OiPsH6ljkLyB4V5e2U/8gImRL6YJIxKYcvOq47KdHSE0oom5QkZSKAZ14CM+RLKvg47UIOx/DIPPsLkn3em3FKM5Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=mvILCXvr; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=mvILCXvr; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3088A3765C; Thu, 11 Apr 2024 15:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1712850004; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=G2XByNyMRfD+PxUu51kh1WRBKG3twlIy8uQsFNS0GR0=; b=mvILCXvrw4TQ6/5rw3DDP2K9H8aytX5IdghSHeyb+oTDAAa5Bl/2XnGevAfzT20pzQIdS5 AnlOXGlE7elw4PLnYymf1WzAQcpVQP3avnsOROultPJoq05D4E3Xj1SA6Y23/Vbshi71Zl thh+kgHvOlaLf0ydHuDPk0QiYpnBjHg= Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.com header.s=susede1 header.b=mvILCXvr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1712850004; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=G2XByNyMRfD+PxUu51kh1WRBKG3twlIy8uQsFNS0GR0=; b=mvILCXvrw4TQ6/5rw3DDP2K9H8aytX5IdghSHeyb+oTDAAa5Bl/2XnGevAfzT20pzQIdS5 AnlOXGlE7elw4PLnYymf1WzAQcpVQP3avnsOROultPJoq05D4E3Xj1SA6Y23/Vbshi71Zl thh+kgHvOlaLf0ydHuDPk0QiYpnBjHg= Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 1E2691368B; Thu, 11 Apr 2024 15:40:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id l6UjB1QEGGajXwAAD6G6ig (envelope-from ); Thu, 11 Apr 2024 15:40:04 +0000 Date: Thu, 11 Apr 2024 17:40:02 +0200 From: Michal =?utf-8?Q?Koutn=C3=BD?= To: Andrew Morton 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: Re: [PATCH 2/3] kernel/pid: Remove default pid_max value Message-ID: References: <20240408145819.8787-1-mkoutny@suse.com> <20240408145819.8787-3-mkoutny@suse.com> <20240408132955.70d10145d2ea1b0b12b7a5d0@linux-foundation.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240408132955.70d10145d2ea1b0b12b7a5d0@linux-foundation.org> X-Spam-Flag: NO X-Spam-Score: -4.01 X-Rspamd-Action: no action X-Rspamd-Queue-Id: 3088A3765C X-Spam-Level: X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-4.01 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; FROM_HAS_DN(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; ARC_NA(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCPT_COUNT_TWELVE(0.00)[13]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.com:+]; RCVD_COUNT_TWO(0.00)[2]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received,2a07:de40:b281:104:10:150:64:97:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_BLOCKED(0.00)[suse.com:dkim]; MISSING_XM_UA(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.com:dkim] Hello. On Mon, Apr 08, 2024 at 01:29:55PM -0700, Andrew Morton wrote: > That seems like a large change. In what sense is it large? I tried to lookup the code parts that depend on this default and either add the other patches or mention the impact (that part could be more thorough) in the commit message. > It isn't clear why we'd want to merge this patchset. Does it improve > anyone's life and if so, how? - kernel devs who don't care about policy - policy should be decided by distros/users, not in kernel - users who need many threads - current default is too low - this is one more place to look at when configuring - users who want to prevent fork-bombs - current default is ineffective (too high), false feeling of safety - i.e. they should configure appropriate mechanism appropriately I thought that the first point alone would be convincing and that only scaling impact might need clarification. Regards, Michal