Re: innd mmap bug in 2.4.0-test12

From: Linus Torvalds (torvalds@transmeta.com)
Date: Thu Dec 28 2000 - 13:50:48 EST


On Thu, 28 Dec 2000, Chris Wedgwood wrote:
>
> this remind me; perhaps you or Al could answer this.
>
> How hard would it be to have ramfs backed by swap? The goal being
> try to achieve something like a FreeBSDs mfs.
>
> I use ramfs for /tmp on my laptop -- it's very handy because it
> extends the amount of the the disk had spent spun down and therefore
> battery life; but writing large files into /tmp can blow away the
> system or at the very least eat away at otherwise usable ram. Not
> terribly desirable.

Jeff Garzik had the code to do this, and the new shared memory code should
be able to be massaged to handle this all without actually bloating the
kernel (ie "ramfs" would still stay very very tiny, just taking advantage
of the common code that the VM layer already has to support for other
things).

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:11 EST