DragonFly BSD
DragonFly commits List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_exec.c sysv_ipc.c src/sys/sys proc.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 8 Oct 2005 08:46:30 -0700 (PDT)

: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@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]