Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1101874imu; Tue, 20 Nov 2018 11:43:20 -0800 (PST) X-Google-Smtp-Source: AJdET5frre9kPoS5otMaRtVed6YVqraKumk0k9UU5n7mb0KAREhIJnivQkqMPtVbfpHVNHQCrehb X-Received: by 2002:a62:2a04:: with SMTP id q4-v6mr3487751pfq.61.1542743000436; Tue, 20 Nov 2018 11:43:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542743000; cv=none; d=google.com; s=arc-20160816; b=cVuRGQ4pnFCCAlz/ePRYBHJO4NFRTiQQZiUBQFF4Up1XH34eStcGSxjhSHvIx+e089 SjWmLmQzEz8GqoKoxSIIAaSdvio9QRWIndG9oKj1QioYHlrq8biXmG0n/wHG3WvFoLlI cfr/ozprl3eUZ6OIoDgFwYGP1kf45zeA6AtN+DxyUfzc6EVVhJHO+ZoL4ABt9JzPq8q4 uzBVP4e4uic3MYSWzHH4T8NSXh2XKoDl55wZn6OekPr5R72jUXIrROCtY0oeJOAk52Ly D4YO+KQSgDwt9OTnZHPeJLbTgOwI6AcclHfM4Peo1vc/kPZMRIWr6j3dzUamVUnhTexZ I/RQ== 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:dkim-signature; bh=ObZd+2EAI/2J8E0S2Wv13fI9xuoKlVew8XcoQeC5j/4=; b=0XUL0fwGIrJYZt5Tl1boKETorn5YzUUZXIdkJaag1SM6kIzLy3c+tCsRSOJezzhgIM GWS+6Ur5wfynPa0SzG8sat1sqMlbxZ4GX+YTPuMaaEZ5hRANBR+xy06KhUvLl3n0/niw hAliopMicIsXShnC2i+PKjMCocY+7x5V0U9uPRyJxcnMX/muKzYn5pHxsfKDKfZmJ6m0 N1wRsx8jT508yHV5sNm9+mI4d6a9xnN0rZ9wG4uFtTtpXYlbcFU/9Gl2S6HvH9FyIQ34 imitpd7f+uEZ9pnU4qZA/drpqZU5T44JiSYrW1WFfbzP1tc/sIOOlD8bS+/rF0llEWra 3GVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Tv+IJpr8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20si28870590pft.177.2018.11.20.11.43.05; Tue, 20 Nov 2018 11:43:20 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Tv+IJpr8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729264AbeKUEJf (ORCPT + 99 others); Tue, 20 Nov 2018 23:09:35 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:60860 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729143AbeKUEJf (ORCPT ); Tue, 20 Nov 2018 23:09:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ObZd+2EAI/2J8E0S2Wv13fI9xuoKlVew8XcoQeC5j/4=; b=Tv+IJpr8CPpzFfehFjbBjdRb/ OaKzzc0bj9mdT3kc2xzyXbwqCoReDDPX7rxId5rRqMcOAm5a0qNhlzWnQH4Mtgrj1Nw+8Fpj4KO3s bT7L4EsSPmS8LJTixx4khS4ErYT+StLQDyUAlQszY8+GQOMHurf3OC8j+gtXzyQZ4rsdzRq1h+Saa THqk3rJwYgXp2JnGm344LMXbNy3EL2H+WXTD/xt2IJE9ptOlb8LPAqdpG/KJeTz6Jca/PvMfbpaH0 Q6aAQ+VPajLkbMMFVMurwZ6UWI6KwLaU+jpsWjNvtDdX9E4/xESOeMHXYP5GQc/HlVRlcykMEn61X JGLhNmnLA==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gP9zU-0003Be-QJ; Tue, 20 Nov 2018 17:39:12 +0000 Date: Tue, 20 Nov 2018 09:39:12 -0800 From: Matthew Wilcox To: Pavel Machek Cc: Vlastimil Babka , Daniel Colascione , linux-kernel@vger.kernel.org, rppt@linux.ibm.com, timmurray@google.com, joelaf@google.com, surenb@google.com, Jonathan Corbet , Andrew Morton , Roman Gushchin , Mike Rapoport , "Kirill A. Shutemov" , "Dennis Zhou (Facebook)" , Prashant Dhamdhere , "open list:DOCUMENTATION" Subject: Re: [PATCH v2] Document /proc/pid PID reuse behavior Message-ID: <20181120173912.GD3065@bombadil.infradead.org> References: <20181031150625.147369-1-dancol@google.com> <20181105132205.138695-1-dancol@google.com> <20181119105426.GD28607@amd> <1c5caa66-3c61-cb57-754a-f099200c73b2@suse.cz> <20181120091829.GD16916@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181120091829.GD16916@amd> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 20, 2018 at 10:18:29AM +0100, Pavel Machek wrote: > > would ever rely on the pid being reused while having the descriptor > > open. How would that make sense? > > I agree this is corner space, but users might be surprised that > keeping FDs of /proc/pid/X would lead to PID space exhaustion, for > example. We have a limit on the number of FDs a process can have open for a reason. Well, for many reasons.