Re: I/O memory allocation

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 06 Oct 2000 01:04:17 +0200

Adrian Chadd wrote:

> out soonish. In fact, I am pretty sure that a lot of those extraneous
> buffer copies can go away - memory needed for a read or write op will
> be supplied by a higher-up layer and is pretty much guaranteed to exist
> until the end of the fileop anyway.

For reads I would prefer if the memory was allocated by the I/O
operation rather than the caller. I sort of see memory buffers with
data, created at the time the data appears and destroyed (put back in
the appropriate pool) when the last reference disappears.

/Henrik
Received on Thu Oct 05 2000 - 17:27:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:41 MST