cvs commit: src/sys/kern kern_slaballoc.c lwkt_ipiq.c src/sys/sys thread.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Nov 18 01:55:36 PST 2007


sephe       2007/11/18 01:53:19 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_slaballoc.c lwkt_ipiq.c 
    sys/sys              thread.h 
  Log:
  Add a new light weight function to synchronize IPI queues on other CPUs by
  broadcasting a NOP IPI to other CPUs; this is used be make sure that all
  IPIs before the NOP one are processed.
  
  Use this new function to fix a possible race between kfree() and
  malloc_uninit():
  kfree() may be in transitting state when malloc_uninit() is running.
  
  Ideas-from: dillon@
  Reviewed-by: dillon@
  
  Revision  Changes    Path
  1.51      +5 -0      src/sys/kern/kern_slaballoc.c
  1.23      +27 -0     src/sys/kern/lwkt_ipiq.c
  1.89      +1 -0      src/sys/sys/thread.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_slaballoc.c.diff?r1=1.50&r2=1.51&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_ipiq.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff?r1=1.88&r2=1.89&f=u





More information about the Commits mailing list