cvs commit: src/sys/kern kern_mpipe.c src/sys/sys mpipe.h src/sys/dev/disk/ata ata-all.c ata-disk.c ata-dma.c

Matthew Dillon dillon at
Mon Mar 29 08:22:43 PST 2004

dillon      2004/03/29 08:22:24 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_mpipe.c 
    sys/sys              mpipe.h 
    sys/dev/disk/ata     ata-all.c ata-disk.c ata-dma.c 
  Bring in a bunch of well tested MPIPE changes.  Preallocate a minimum
  number of mpipe elements when it is initialized.  Use an array to cache
  free MPIPE buffers nad remove the data structure overloading that was
  previously occuring on the buffer itself.  Add a deconstructor.  Separate
  the blocking and non-blocking allocation APIs into their own functions.
  The new code still needs Giant, but it's getting a lot closer to being
  lock free.
  Revision  Changes    Path
  1.5       +137 -75   src/sys/kern/kern_mpipe.c
  1.2       +41 -11    src/sys/sys/mpipe.h
  1.15      +4 -2      src/sys/dev/disk/ata/ata-all.c
  1.15      +1 -1      src/sys/dev/disk/ata/ata-disk.c
  1.21      +7 -3      src/sys/dev/disk/ata/ata-dma.c

More information about the Commits mailing list