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

cvs commit: src/sys/kern lwkt_serialize.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 May 2005 14:22:06 -0700 (PDT)

dillon      2005/05/24 14:22:06 PDT

DragonFly src repository

  Added files:
    sys/kern             lwkt_serialize.c 
  Log:
  (add missing file related to last commit)
  
  Get rid of bus_{disable,enable}_intr(), it wasn't generic enough for
  our needs.
  
  Implement some generic atomic.h functions to aid in the implementation of
  a low level mutex.
  
  Implement a generic low level sleep-mutex serializer, kern/lwkt_serialize.c.
  The serializer is designed to be a replacement for SPL calls but may also
  be used for other very low level work (e.g. lockmgr interlocks).
  
  Add a serializer argument to BUS_SETUP_INTR().  When non-NULL, the interrupt
  handler will no longer be protected by an SPL so e.g. spl*() will no
  longer protect against that device's interrupts.
  
  The IF queueing and dequeueing mechanisms may no longer depend on outside
  SPL state because network driver interrupt handlers are no longer required to
  enter splnet().  Use critical sections for the moment.  The IFQ and
  IFF_OACTIVE interactions are not yet MP safe.




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