Re: [patch?] RAMFS

Christoph Rohland (cr@sap.com)
04 Feb 2001 10:53:28 +0100


Mike Galbraith <mikeg@wen-online.de> writes:

> However, tmpfs appears to cover the functionality provided by ramfs.
> Are there any uses for ramfs which can't be handled by tmpfs?

Nothing I know of.

> The only thing I could think of was "what if you don't have a
> swap device up and running". Seems it doesn't need one :))

Yes and no. tmpfs has a little bit overhead for the noswap case but
this overhead is in the kernel anyways for shared anon mappings. The
whole vm is using swap unconditionally.

Greetings
Christoph

-
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/