From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754797AbdBVRtp (ORCPT ); Wed, 22 Feb 2017 12:49:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56566 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754252AbdBVRtk (ORCPT ); Wed, 22 Feb 2017 12:49:40 -0500 Date: Wed, 22 Feb 2017 18:48:03 +0100 From: Oleg Nesterov To: "Dmitry V. Levin" Cc: Alexey Gladkov , Linux Kernel Mailing List , "Kirill A. Shutemov" , Vasiliy Kulikov , Al Viro , "Eric W. Biederman" , Pavel Emelyanov Subject: Re: [PATCH] Add pidfs filesystem Message-ID: <20170222174803.GB19788@redhat.com> References: <20170218225307.GA10345@comp-core-i7-2640m-0182e6.fortress> <20170221145746.GA31914@redhat.com> <20170222153718.GA9258@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170222153718.GA9258@altlinux.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 22 Feb 2017 17:49:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/22, Dmitry V. Levin wrote: > > On Tue, Feb 21, 2017 at 03:57:47PM +0100, Oleg Nesterov wrote: > > > > But perhaps we can use mnt_flags? For example, lets abuse MNT_NODEV, see > > the simple patch below. Not sure it is correct/complete, just to illustrate > > the idea. ... > I like the idea of using mnt_flags to turn procfs into pidfs, thus > avoiding yet another filesystem, but MNT_NODEV has a different meaning, Yes, yes, see "abuse MNT_NODEV" above. The patch just tries to illustrate the idea. Oleg.