cvs commit: src/sys/kern subr_prof.c subr_trap.c src/sys/sys resourcevar.h

John Baldwin jhb at FreeBSD.org
Thu Jul 1 20:51:42 PDT 2004


jhb         2004-07-02 03:50:48 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_prof.c subr_trap.c 
    sys/sys              resourcevar.h 
  Log:
  Tidy up uprof locking.  Mostly the fields are protected by both the proc
  lock and sched_lock so they can be read with either lock held.  Document
  the locking as well.  The one remaining bogosity is that pr_addr and
  pr_ticks should be per-thread but profiling of multithreaded apps is
  currently undefined.
  
  Revision  Changes    Path
  1.73      +18 -10    src/sys/kern/subr_prof.c
  1.267     +6 -8      src/sys/kern/subr_trap.c
  1.42      +17 -11    src/sys/sys/resourcevar.h


More information about the cvs-all mailing list