From owner-cvs-all Mon Feb 3 9:53:19 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 792C137B401; Mon, 3 Feb 2003 09:53:16 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C6BE43F75; Mon, 3 Feb 2003 09:53:16 -0800 (PST) (envelope-from jake@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h13HrFbv089593; Mon, 3 Feb 2003 09:53:15 -0800 (PST) (envelope-from jake@repoman.freebsd.org) Received: (from jake@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h13HrF61089592; Mon, 3 Feb 2003 09:53:15 -0800 (PST) Message-Id: <200302031753.h13HrF61089592@repoman.freebsd.org> From: Jake Burkholder Date: Mon, 3 Feb 2003 09:53:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha clock.c interrupt.c src/sys/i386/i386 critical.c mp_machdep.c src/sys/i386/include clock.h smp.h src/sys/i386/isa apic_vector.s clock.c src/sys/ia64/ia64 clock.c interrupt.c src/sys/kern kern_clock.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 jake 2003/02/03 09:53:15 PST Modified files: sys/alpha/alpha clock.c interrupt.c sys/i386/i386 critical.c mp_machdep.c sys/i386/include clock.h smp.h sys/i386/isa apic_vector.s clock.c sys/ia64/ia64 clock.c interrupt.c sys/kern kern_clock.c sys/pc98/pc98 clock.c sys/powerpc/powerpc clock.c sys/sparc64/sparc64 clock.c tick.c sys/sys kernel.h systm.h Log: Split statclock into statclock and profclock, and made the method for driving statclock based on profhz when profiling is enabled MD, since most platforms don't use this anyway. This removes the need for statclock_process, whose only purpose was to subdivide profhz, and gets the profiling clock running outside of sched_lock on platforms that implement suswintr. Also changed the interface for starting and stopping the profiling clock to do just that, instead of changing the rate of statclock, since they can now be separate. Reviewed by: jhb, tmm Tested on: i386, sparc64 Revision Changes Path 1.32 +9 -8 src/sys/alpha/alpha/clock.c 1.72 +10 -7 src/sys/alpha/alpha/interrupt.c 1.7 +10 -7 src/sys/i386/i386/critical.c 1.199 +9 -10 src/sys/i386/i386/mp_machdep.c 1.43 +2 -0 src/sys/i386/include/clock.h 1.74 +2 -2 src/sys/i386/include/smp.h 1.86 +6 -2 src/sys/i386/isa/apic_vector.s 1.193 +22 -6 src/sys/i386/isa/clock.c 1.20 +10 -3 src/sys/ia64/ia64/clock.c 1.36 +10 -7 src/sys/ia64/ia64/interrupt.c 1.146 +66 -90 src/sys/kern/kern_clock.c 1.119 +15 -2 src/sys/pc98/pc98/clock.c 1.11 +6 -1 src/sys/powerpc/powerpc/clock.c 1.10 +6 -2 src/sys/sparc64/sparc64/clock.c 1.11 +6 -12 src/sys/sparc64/sparc64/tick.c 1.108 +1 -0 src/sys/sys/kernel.h 1.188 +4 -3 src/sys/sys/systm.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message