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

Hiten Pandya hmp at backplane.com
Tue Mar 30 08:33:07 PST 2004


Matthew Dillon wrote:
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.
	If we are adding a destructor, shouldn't we also add a
	constructor?  Because otherwise it would be pointless
	to have a destructor, isn't it?
	-Hiten
	Hiten Pandya




More information about the Commits mailing list