Re: RFC [patch 00/34] PID Virtualization Overview

From: Arjan van de Ven
Date: Wed Jan 18 2006 - 14:49:04 EST


On Wed, 2006-01-18 at 11:38 -0800, Dave Hansen wrote:
> On Wed, 2006-01-18 at 20:28 +0100, Arjan van de Ven wrote:
> > On Wed, 2006-01-18 at 11:01 -0800, Dave Hansen wrote:
> > > Other than searches, there appear to be quite a number of drivers an
> > > subsystems that like to print out pids. I can't find any cases yet
> > > where these are integral to functionality, but I wonder what approach we
> > > should take.
> >
> > those should obviously print out the REAL pid, not the application
> > pid ... so no changes needed.
>
> One suggestion was to make all pid comparisons meaningless without some
> kind of "container" context along with it. The thought is that using
> pids is inherently racy

current->pid sure isn't racey, you yourself KNOW you're not going
away :)





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/