cvs commit: src/sys/kern kern_fork.c kern_proc.c src/sys/sys proc.h src/sys/vfs/procfs procfs_vnops.c

joerg at britannica.bec.de joerg at britannica.bec.de
Thu May 25 23:25:27 PDT 2006


On Thu, May 25, 2006 at 02:47:49PM +0200, Simon 'corecode' Schubert wrote:
> On 25.05.2006, at 04:53, David Xu wrote:
> >joerg at xxxxxxxxxxxxxxxxx wrote:
> >>On Wed, May 24, 2006 at 11:59:51AM -0700, Matthew Dillon wrote:
> >>> Integrate pid generation for the new process into 
> >>>proc_add_allproc(), move
> >>> all related code from kern_fork.c to kern_proc.c.
> >>Can you make it a separate function instead? We might want to use a 
> >>shared namespace for thread ids and process ids in the long run, I'm 
> >>not
> >>sure yet. That would make it easier to deal with.
> >Can you say something about the shared namespace ?
> 
> I'm for using &lwp or &thread as thread-id.  unique, easy.

But wider than 32bit on AMD64.

Joerg





More information about the Commits mailing list