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: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 08 Oct 2005 17:38:10 +0200

Matthew Dillon wrote:
: Log:
: 1:1 Userland threading stage 2.3/4:
: : Use p_comm instead of p_thread->td_comm.

Actually, I moved p_comm to td_comm on purpose, otherwise pure kernel threads will not have a command that 'ps' can display, and
processes would wind up having *two* comm[] arrays.

I'd prefer we just have one comm[] array, which tends to mean that it should be in the struct thread structure.

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.


Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

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