Date: Wed, 18 Oct 2006 04:48:09 +0000 (UTC) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_intr.c subr_trap.c Message-ID: <200610180448.k9I4m9im010921@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2006-10-18 04:48:09 UTC FreeBSD src repository Modified files: sys/kern kern_intr.c subr_trap.c Log: kern_intr.c: - Count (scheduling of) software interrupts (SWIs) as SWIs, not as hardware interrupts. - Don't count (scheduling of) delayed SWIs as interrupts at all, since in the delayed case it is expected that there are many more scheduling calls than handling calls. Perhaps all interrupts should be counted only when they are handled, but it is only counts of delayed SWIs that shouldn never be combined with the other counts. subr_trap.c: - Count (handling of) Asynchronous System Traps (ASTs) as traps, not as software interrupts. Before these changes, the counter for SWIs only counted ASTs, and SWIs weren't counted separately, but a subcounter for ASTs alone is less needed than for most other exception sources. 4.4BSD-Lite uses the counters for similar things (actually matching their names) on its main arches (hp300, ..., !i386) where more of the exceptions are in hardware. Revision Changes Path 1.134 +2 -2 src/sys/kern/kern_intr.c 1.287 +1 -1 src/sys/kern/subr_trap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610180448.k9I4m9im010921>