Date: Wed, 8 Feb 2006 08:09:17 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha trap.c src/sys/amd64/amd64 trap.c src/sys/amd64/ia32 ia32_syscall.c src/sys/arm/arm trap.c src/sys/i386/i386 trap.c src/sys/ia64/ia32 ia32_trap.c src/sys/ia64/ia64 trap.c src/sys/kern kern_clock.c kern_fork.c ... Message-ID: <200602080809.k1889HFT064205@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2006-02-08 08:09:17 UTC FreeBSD src repository Modified files: sys/alpha/alpha trap.c sys/amd64/amd64 trap.c sys/amd64/ia32 ia32_syscall.c sys/arm/arm trap.c sys/i386/i386 trap.c sys/ia64/ia32 ia32_trap.c sys/ia64/ia64 trap.c sys/kern kern_clock.c kern_fork.c subr_trap.c sys/powerpc/powerpc trap.c sys/sparc64/sparc64 trap.c sys/sys proc.h Log: Simplify system time accounting for profiling. Rename struct thread's td_sticks to td_pticks, we will need the other name for more appropriately named use shortly. Reduce it from uint64_t to u_int. Clear td_pticks whenever we enter the kernel instead of recording its value as reference for userret(). Use the absolute value of td->pticks in userret() and eliminate third argument. Revision Changes Path 1.128 +4 -7 src/sys/alpha/alpha/trap.c 1.302 +5 -7 src/sys/amd64/amd64/trap.c 1.11 +3 -4 src/sys/amd64/ia32/ia32_syscall.c 1.21 +11 -12 src/sys/arm/arm/trap.c 1.289 +5 -7 src/sys/i386/i386/trap.c 1.7 +2 -3 src/sys/ia64/ia32/ia32_trap.c 1.117 +4 -7 src/sys/ia64/ia64/trap.c 1.186 +1 -1 src/sys/kern/kern_clock.c 1.257 +1 -1 src/sys/kern/kern_fork.c 1.285 +4 -10 src/sys/kern/subr_trap.c 1.57 +3 -4 src/sys/powerpc/powerpc/trap.c 1.77 +4 -6 src/sys/sparc64/sparc64/trap.c 1.451 +2 -2 src/sys/sys/proc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602080809.k1889HFT064205>