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

Re: 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: Hiten Pandya <hmp@xxxxxxxxxxxxx>
Date: Tue, 30 Mar 2004 17:33:07 +0100

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



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