cvs commit: src/sys/cpu/i386/include param.h src/sys/platform/vkernel/i386 mp.c src/sys/platform/vkernel/include param.h src/sys/platform/vkernel/platform init.c kqueue.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jul 1 20:47:31 PDT 2007


dillon      2007/07/01 20:44:12 PDT

DragonFly src repository

  Modified files:
    sys/cpu/i386/include param.h 
    sys/platform/vkernel/i386 mp.c 
    sys/platform/vkernel/include param.h 
    sys/platform/vkernel/platform init.c kqueue.c 
  Log:
  Increase SMP_MAXCPU to 31.  Can't do 32 (boo hoo!) because spinlocks need
  a bit in the cpumask.
  
  Add DELAY()'s (usleep()'s) in the AP startup code where we spin on the MP
  lock.  This greatly improves startup speed when you specify 31 cpus.
  
  Fix a bug in the kqueue interrupt init.  The kqueue code was not registering
  its interrupt soon enough which could cause the timer to stop generating
  interrupts.
  
  Revision  Changes    Path
  1.14      +4 -0      src/sys/cpu/i386/include/param.h
  1.5       +9 -7      src/sys/platform/vkernel/i386/mp.c
  1.2       +9 -0      src/sys/platform/vkernel/include/param.h
  1.42      +11 -5     src/sys/platform/vkernel/platform/init.c
  1.6       +3 -0      src/sys/platform/vkernel/platform/kqueue.c


http://www.dragonflybsd.org/cvsweb/src/sys/cpu/i386/include/param.h.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/mp.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/include/param.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/init.c.diff?r1=1.41&r2=1.42&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/kqueue.c.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list