Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 01:06:12 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_prof.c subr_trap.c
Message-ID:  <200112180906.fBI96Cd95135@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/12/18 01:06:12 PST

  Modified files:
    sys/kern             subr_prof.c subr_trap.c 
  Log:
  - Change all callers of addupc_task() to check PS_PROFIL explicitly and
    remove the check from addupc_task().  It would need sched_lock while
    testing the flag anyways.
  - Always read sticks while holding sched_lock using a temporary variable
    where needed.
  - Always init prticks to 0 in ast() to quiet a warning.
  
  Revision  Changes    Path
  1.52      +1 -2      src/sys/kern/subr_prof.c
  1.203     +12 -7     src/sys/kern/subr_trap.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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