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

Sepherosa Ziehau sephe at
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 
  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
  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

More information about the Commits mailing list