Re: [PATCH] Add pidfs filesystem

From: Oleg Nesterov
Date: Wed Feb 22 2017 - 12:49:47 EST

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.