From owner-cvs-all Tue Dec 18 1: 6:19 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E186837B42C; Tue, 18 Dec 2001 01:06:12 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBI96Cd95135; Tue, 18 Dec 2001 01:06:12 -0800 (PST) (envelope-from jhb) Message-Id: <200112180906.fBI96Cd95135@freefall.freebsd.org> From: John Baldwin Date: Tue, 18 Dec 2001 01:06:12 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_prof.c subr_trap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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