]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Change all callers of addupc_task() to check PS_PROFIL explicitly and
authorjhb <jhb@FreeBSD.org>
Tue, 18 Dec 2001 09:06:10 +0000 (09:06 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 18 Dec 2001 09:06:10 +0000 (09:06 +0000)
commit3b3c195480fed60a230e8401bd4db8d5f2092d58
tree3f813024556280e8358079cdcdd3b633aa6e3e95
parent5d7a6cb932b96b3e71596f48d3603f5806a26be9
- 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.
sys/kern/subr_prof.c
sys/kern/subr_trap.c