Re: [PATCH] Add /proc/pid_generation

2018-11-25 Thread Pavel Machek
On Wed 2018-11-21 18:06:33, Matthew Wilcox wrote: > On Wed, Nov 21, 2018 at 12:38:20PM -0800, Daniel Colascione wrote: > > On Wed, Nov 21, 2018 at 12:31 PM Matthew Wilcox wrote: > > > > > > On Wed, Nov 21, 2018 at 12:14:44PM -0800, Daniel Colascione wrote: > > > > This change adds a per-pid-namesp

Re: [PATCH] Add /proc/pid_generation

2018-11-21 Thread Matthew Wilcox
On Wed, Nov 21, 2018 at 12:38:20PM -0800, Daniel Colascione wrote: > On Wed, Nov 21, 2018 at 12:31 PM Matthew Wilcox wrote: > > > > On Wed, Nov 21, 2018 at 12:14:44PM -0800, Daniel Colascione wrote: > > > This change adds a per-pid-namespace 64-bit generation number, > > > incremented on PID rollo

Re: [PATCH] Add /proc/pid_generation

2018-11-21 Thread Daniel Colascione
On Wed, Nov 21, 2018 at 12:31 PM Matthew Wilcox wrote: > > On Wed, Nov 21, 2018 at 12:14:44PM -0800, Daniel Colascione wrote: > > This change adds a per-pid-namespace 64-bit generation number, > > incremented on PID rollover, and exposes it via a new proc file > > /proc/pid_generation. By examinin

Re: [PATCH] Add /proc/pid_generation

2018-11-21 Thread Matthew Wilcox
On Wed, Nov 21, 2018 at 12:14:44PM -0800, Daniel Colascione wrote: > This change adds a per-pid-namespace 64-bit generation number, > incremented on PID rollover, and exposes it via a new proc file > /proc/pid_generation. By examining this file before and after /proc > enumeration, user code can de