[PATCH RFC] 1/2 central workspace for zlib

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Jun 2 16:54:41 EDT 2003


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 



More information about the linux-mtd mailing list