DragonFly commits List (threaded) for 2007-11
DragonFly BSD
DragonFly commits List (threaded) for 2007-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 18 Nov 2007 01:53:19 -0800 (PST)

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



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