cvs commit: src/sys/kern kern_exec.c sysv_ipc.c src/sys/sys proc.h
Matthew Dillon
dillon at apollo.backplane.com
Sat Oct 8 08:47:32 PDT 2005
:Uhm, so each thread will carry the same information but proc won't?
:
:Alright, I can back it out, it just seemed a bit weird not to have the
:command in struct proc.
:
:And worrying about these 17 bytes seemed not reasonable either.
:
:cheers
: simon
:
:--
:Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
All processes have threads (all LWP's have thread's too), but not all
threads have processes.
The LWP separation implies that the command should be in the process
structure so all the LWP's can share it, but that would still leaves us
with a duplicate comm[] array in the thread structure which otherwise
must be there for pure kernel threads and I really dislike that because
it adds confusion.
*_comm[] is not the 'official' command name anyway. It's just the
short form used by ps, accounting, and so forth. Lets keep it in the
thread structure.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Commits
mailing list