Subject: Re: curproc in procfs
To: Ignatios Souvatzis <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 03/04/1999 11:25:09
On Thu, 4 Mar 1999, Ignatios Souvatzis wrote:
> On Thu, Mar 04, 1999 at 12:34:15PM -0500, Bill Sommerfeld wrote:
> > > One really, really low priority one:
> > > Symbolic link ``curproc'' should be changed to set of ``curprocX'' links
> > > for MP systems and even ``curproc0'' for computers woth one CPU.
> > It's not clear that this is right; /proc/curproc refers to the process
> > making the open() call, so:
> > cat < /proc/curproc/foo
> > and
> > cat < /proc/$$/foo
> > should refer to the same object, and is still well-defined on an MP system..
Maybe it would make sense to add curprocX, leaving curproc as-is. curproc
referes to the process making the open() call, while curprocX refers to
the curproc on cpu X.