Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 ...



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