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

cvs commit: src/bin/ps ps.c src/sys/kern init_main.c kern_acct.c kern_fork.c src/sys/netproto/smb smb_subr.c src/sys/sys proc.h resourcevar.h thread.h src/sys/vfs/procfs procfs_status.c src/sys/vm vm_glue.c

From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 Jun 2004 15:29:11 -0700 (PDT)

hmp         2004/06/20 15:29:11 PDT

DragonFly src repository

  Modified files:
    bin/ps               ps.c 
    sys/kern             init_main.c kern_acct.c kern_fork.c 
    sys/netproto/smb     smb_subr.c 
    sys/sys              proc.h resourcevar.h thread.h 
    sys/vfs/procfs       procfs_status.c 
    sys/vm               vm_glue.c 
  Move the 'p_start' field from struct pstats (Process Statistics) into the
  thread structure and call it 'td_start'.  The behavior of vm_fork(9) is
  retained, i.e., it still copies the start time from the parent process just
  as it did before.
  The 'td_start' will later be used by pure threads to indicate their start
  time.  It has not been committed in this round because use of the microtime()
  function at such a early point in the boot process might be unsafe.
  Note, there should be no problem in accessing the td_start field, unless
  the process is a Zombie; due to the way Zombies are reaped, the thread will
  be decoupled in kern_wait1() but the process will still be around for a
  while it will not be possible to access the td_start field in such
  scenarios.  A little note about this has been added on top of struct proc
  in <sys/proc.h> for future reference.
  This work was a collaboration of Hiten Pandya <hmp@xxxxxxxxxxxxx> and
  Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
  Revision  Changes    Path
  1.7       +1 -1      src/bin/ps/ps.c
  1.34      +1 -1      src/sys/kern/init_main.c
  1.11      +2 -2      src/sys/kern/kern_acct.c
  1.27      +1 -1      src/sys/kern/kern_fork.c
  1.12      +1 -1      src/sys/netproto/smb/smb_subr.c
  1.51      +4 -0      src/sys/sys/proc.h
  1.10      +0 -1      src/sys/sys/resourcevar.h
  1.55      +4 -0      src/sys/sys/thread.h
  1.7       +2 -2      src/sys/vfs/procfs/procfs_status.c
  1.24      +1 -1      src/sys/vm/vm_glue.c


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