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

Jörn Engel (joern@wohnheim.fh-wedel.de)
Mon, 2 Jun 2003 22:54:41 +0200


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 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/