Re: [PATCH RFC] 1/2 central workspace for zlib

Jörn Engel
2003-06-02T20:54:12Z

On Mon, 2 June 2003 20:36:13 +0100, David Woodhouse wrote:
>
> I was concerned briefly that the allocation could happen when we're
> trying to evict a page on memory pressure -- but in fact that's
> virtually impossible since you'd have to mount the file system and mmap
> your file without actually writing anything to the block device.

Right. If someone gets into memory pressure before ever writing to
the device, there should be other problems in the system anyway. No
need to fix something that is already broken elsewhere.

> And anyway, refer to earlier comments about anyone using the naïve
> read/erase/modify/writeback mtdblock translation layer for writing in
> production wanting to be shot for it :)

Right!

Jörn

--
More computing sins are committed in the name of efficiency (without
necessarily achieving it) than for any other single reason - including
blind stupidity.
-- W. A. Wulf