Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp924214imu; Tue, 20 Nov 2018 08:58:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/UqTpt26bLdgzIDRqUrfl4JdYDXHhImLJtZ+TN5VuBumQJ462Ku86gqO/C8ShPYPI1N3s7+ X-Received: by 2002:a17:902:bd8e:: with SMTP id q14mr2905405pls.146.1542733127361; Tue, 20 Nov 2018 08:58:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542733127; cv=none; d=google.com; s=arc-20160816; b=CrO5yXkhzAwKjRFNWYbRodYjXy1hG6PEuTyi0NEZaHoeU8CysKQsg9SQxMYYE/R7VX KXHClIXe6WRvQYQWM5+hvW11LhHbcZHrTN93ktLRETJO6b9LT2jzLRJUAibNoFpcwDpS hdDXTg8hGeXcMzboEtTVU4qzjf0JrRuJJrMh8r+nwISttiZuK6ue0RlZGS3UGMUZEJHB X4O/CAjLT9XqwxIlEpy3kpdSN0wAUnzfI/z2iDGnGI3SLKP0b4yRK85gcl0T+kZyMl/W ERvcvRVLjtAZCWahd5Ck48jvSJa0FYvTLvqgtDNohegGPgGEXcTW1mbX0tjFvd2+IMYF MMVQ== 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=2XgCBJufAa7myS6yGARpNX9B2n5fKpe89qzovHAzcrw=; b=qtLmeWsYPxD01oKLUnRNEFnqg8bhiDCxbG8PK59EU92mvmHxXm+/w8APWwERcRLeVm NXmEV4VygMxAoALCdnsGU35bR5E8Hxl7jVeHhbd/q5mJ6gWPbRql5d/j0EGT9ACNy8CT czfRTa1jr+dWNOHikV9rp/TU9jItmZZsAL3SNhzneo/369N2t+lcc8SUrTqytf2FfFtx vV8dCI0NDsvTcAmzC3divGj9Riaa9MCvDPQYIy25gG0bfinB6ubbC6OY1jwcEHOhm1iY tnopL73yyarN/Zb8PnGUAs1YSc04I0E1rIxjqchFV+iK2TuRweKh1rOcc30FvIXX6CM6 5tmg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k5si7586587pfi.176.2018.11.20.08.58.32; Tue, 20 Nov 2018 08:58:47 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730301AbeKUD1m (ORCPT + 99 others); Tue, 20 Nov 2018 22:27:42 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33300 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725925AbeKUD1m (ORCPT ); Tue, 20 Nov 2018 22:27:42 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id B974C80854; Tue, 20 Nov 2018 17:57:30 +0100 (CET) Date: Tue, 20 Nov 2018 17:57:33 +0100 From: Pavel Machek To: Jonathan Corbet Cc: Vlastimil Babka , Daniel Colascione , linux-kernel@vger.kernel.org, rppt@linux.ibm.com, timmurray@google.com, joelaf@google.com, surenb@google.com, 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: <20181120165732.GA13147@amd> References: <20181031150625.147369-1-dancol@google.com> <20181105132205.138695-1-dancol@google.com> <20181119105426.GD28607@amd> <1c5caa66-3c61-cb57-754a-f099200c73b2@suse.cz> <20181120094950.11978b68@lwn.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20181120094950.11978b68@lwn.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2018-11-20 09:49:50, Jonathan Corbet wrote: > On Tue, 20 Nov 2018 10:05:21 +0100 > Vlastimil Babka wrote: >=20 > > Why can't the documentation describe the current implementation, and > > change in the future if the implementation changes? I doubt somebody > > would ever rely on the pid being reused while having the descriptor > > open. How would that make sense? >=20 > In the hopes of ending this discussion, I'm going to go ahead and apply > this. Documenting current behavior is good, especially in situations > where that behavior can surprise people; if the implementation changes, > the docs can change with it. I'd still prefer changing from "does not" to "may not". It is really simple change, and once we documented a behaviour, we really should not be changing it. Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --KsGdsel6WgEHnImy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlv0PPwACgkQMOfwapXb+vIm1wCgtqq+S/IMFCHeWfVA9EAAo+l5 f4IAni29EPb2X3/9RSgyLOSK4XjdQmfa =K4i7 -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--