Re: PATCH: allow percentile size of tmpfs (2.5.66 / 2.4.20-pre2)

Hugh Dickins (hugh@veritas.com)
Tue, 1 Apr 2003 15:17:39 +0100 (BST)


On Tue, 1 Apr 2003, Ed Tomlinson wrote:
>
> What does tmpfs have to do with ram size? Its swappable. This _might_ be
> useful for ramfs but for tmpfs, IMHO, its not a good idea.

The default size of a tmpfs filesystem is 50% of RAM. That can be
overridden by setting the size explicitly, CaT is offering percent
instead. Which is nice, and neatly done.

But I do agree with you that it seems a bit strange, not to take
swap into account at all. That's one reason I never bothered to
add the feature CaT proposes before. Just imagine you keep swap
at some % of your RAM, then it'll all scale together.

Hugh

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