Date: Thu, 28 May 1998 02:30:30 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/bin/ps print.c src/usr.bin/top machine.c src/sys/ddb db_print.c src/sys/i386/i386 exception.s genassym.c globals.s machdep.c swtch.s src/sys/i386/include globaldata.h src/sys/i386/isa clock.c src/sys/kern init_main.c kern_clock.c ... Message-ID: <199805280930.CAA21352@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1998/05/28 02:30:29 PDT Modified files: bin/ps print.c usr.bin/top machine.c sys/ddb db_print.c sys/i386/i386 exception.s genassym.c globals.s machdep.c swtch.s sys/i386/include globaldata.h sys/i386/isa clock.c sys/kern init_main.c kern_clock.c kern_resource.c kern_synch.c subr_log.c subr_prf.c sys/sys msgbuf.h proc.h resourcevar.h time.h Log: Some cleanups related to timecounters and weird ifdefs in <sys/time.h>. Clean up (or if antipodic: down) some of the msgbuf stuff. Use an inline function rather than a macro for timecounter delta. Maintain process "on-cpu" time as 64 bits of microseconds to avoid needless second rollover overhead. Avoid calling microuptime the second time in mi_switch() if we do not pass through _idle in cpu_switch() This should reduce our context-switch overhead a bit, in particular on pre-P5 and SMP systems. WARNING: Programs which muck about with struct proc in userland will have to be fixed. Reviewed, but found imperfect by: bde Revision Changes Path 1.27 +14 -14 src/bin/ps/print.c 1.10 +3 -3 src/usr.bin/top/machine.c 1.17 +1 -27 src/sys/ddb/db_print.c 1.53 +2 -2 src/sys/i386/i386/exception.s 1.58 +3 -2 src/sys/i386/i386/genassym.c 1.5 +3 -2 src/sys/i386/i386/globals.s 1.297 +2 -11 src/sys/i386/i386/machdep.c 1.74 +5 -1 src/sys/i386/i386/swtch.s 1.5 +2 -1 src/sys/i386/include/globaldata.h 1.121 +3 -3 src/sys/i386/isa/clock.c 1.93 +7 -5 src/sys/kern/init_main.c 1.70 +16 -11 src/sys/kern/kern_clock.c 1.37 +14 -11 src/sys/kern/kern_resource.c 1.57 +16 -28 src/sys/kern/kern_synch.c 1.29 +1 -4 src/sys/kern/subr_log.c 1.46 +45 -4 src/sys/kern/subr_prf.c 1.11 +9 -6 src/sys/sys/msgbuf.h 1.58 +4 -3 src/sys/sys/proc.h 1.12 +2 -1 src/sys/sys/resourcevar.h 1.29 +4 -4 src/sys/sys/time.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805280930.CAA21352>