Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3309773imu; Wed, 7 Nov 2018 08:21:13 -0800 (PST) X-Google-Smtp-Source: AJdET5czIWB9cS7gu7K7NVbXNSjQJpziuJDt/y1B1qC/MenYmI7S9DPrVzlCMEykIFTX5HpMkL9y X-Received: by 2002:a62:4586:: with SMTP id n6-v6mr827648pfi.3.1541607673766; Wed, 07 Nov 2018 08:21:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541607673; cv=none; d=google.com; s=arc-20160816; b=zD7vDEa8O31AxmnrmwhPsY37ZMc7hQxceMeUooYGNFX8ehBOGDL7OCjuwoSQEsPwui yDh/kdEarvQdPOip9gAhb6nxQqLAU8LZBO3SsDxiJrtobpKg4c67z9c1yrM+f7bycNZq lfdnyf1YaC0BwlelEgGu4koTLUfI6zLzr1SJL5rxet2qti7Beq6Y/OSbYC+rdLrDLWQF 8mIwjg57UETgAKD08KuGtGn8Hzqyp+LoYWyGMtFgVAZLArFVPqY+OpUOQwuJgl0yEzW4 P1TwtY+LOawFOVtV1Wy/+bFGDrM7YGdf5l4vgPE8t6ZrKfRD9oxNaFaaXqBiN8WTw33c O0cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=gfsSFh+cSA4fFBE0WrqmGqo2qqdg9KZ1ouvE5EoR+ck=; b=wilSQ5w8YFJGp/Dr7oBj15Ax2RMxmiDo1EEUH3yHgxifIeiau1agSSojNJc7okPL1N TXk07mZzWL6sxwZFvbLjo2QiyqxC8VyhcQvpmQ3MTB7G2ZQ9b4XzYjJ2HmSKpruelFnL 3hj6/jD2Mt4G7Htu1c6XUVmXRxZ1kDRtfLqzLiLOrfUkt1KA135/ZhXxLIZXEmPLHeY+ z7qXon+KwiQ3gMo/NURCkhGGsHJNlFfG4OoyREsiECauaxIqITv+z/DV7QMcsAvTHaUh ete53p7aEWbB2FL/qQdau6JjCAkJdJSruFJzmJszsm/3kbUSDC+PU/C/aZKiNQpHFtEa MloA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l14si915580pgi.147.2018.11.07.08.20.57; Wed, 07 Nov 2018 08:21:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731340AbeKHBuL (ORCPT + 99 others); Wed, 7 Nov 2018 20:50:11 -0500 Received: from mx2.suse.de ([195.135.220.15]:34556 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727312AbeKHBuL (ORCPT ); Wed, 7 Nov 2018 20:50:11 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 34BC1AE10; Wed, 7 Nov 2018 16:19:07 +0000 (UTC) Date: Wed, 7 Nov 2018 17:19:05 +0100 From: Michal Hocko To: Daniel Colascione Cc: linux-kernel , rppt@linux.ibm.com, Tim Murray , Joel Fernandes , Suren Baghdasaryan , Jonathan Corbet , Andrew Morton , Roman Gushchin , Mike Rapoport , Vlastimil Babka , "Kirill A. Shutemov" , "Dennis Zhou (Facebook)" , Prashant Dhamdhere , "open list:DOCUMENTATION" Subject: Re: [PATCH v2] Document /proc/pid PID reuse behavior Message-ID: <20181107161905.GJ27423@dhcp22.suse.cz> References: <20181031150625.147369-1-dancol@google.com> <20181105132205.138695-1-dancol@google.com> <20181106130524.GC2453@dhcp22.suse.cz> <20181107160015.GI27423@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 07-11-18 16:10:01, Daniel Colascione wrote: > On Wed, Nov 7, 2018 at 4:00 PM, Michal Hocko wrote: [...] > > If you really do care about pid space depletion then you > > should use pid cgroup controller. > > Or that, sure. But since cgroups are optional, the problem with the > core model remains. In general, if there's a problem X with the core > system API, and you can mitigate X by using a cgroup, X is still a > problem. I am not questioning that. All that I am saying is that there is a way to mitigate the issue. This is not the only resource where the standard rlimit is not sufficient and there is no other way than cgroups. Actually cgroups were introduced to address rlimit limits IIRC. -- Michal Hocko SUSE Labs