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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Mar 2004 08:22:24 -0800 (PST)

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 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_mpipe.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mpipe.h.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-all.c.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-disk.c.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-dma.c.diff?r1=1.20&r2=1.21&f=h



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