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

Hugh Dickins
2003-04-01T14:04:19Z

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