Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2004 03:50:48 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_prof.c subr_trap.c src/sys/sys resourcevar.h
Message-ID:  <200407020350.i623omDt007580@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407020350.i623omDt007580>