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

Robert White (rwhite@casabyte.com)
Thu, 3 Apr 2003 12:55:18 -0800


hmm, I think, on reflection, that I knew that because of having encountered
the swapoff problem after putting a bunch of stuff in a tmpfs...

Regardless,

Since the tmpfs occupies both ram and swap, then having the absolute size
limit based only on ram seems odd.

IMHO of course 8-)

Rob.

-----Original Message-----
From: Hugh Dickins [mailto:hugh@veritas.com]
Sent: Thursday, April 03, 2003 12:35 AM
To: Robert White
Cc: Christoph Rohland; tomlins@cam.org; CaT;
linux-kernel@vger.kernel.org
Subject: RE: PATCH: allow percentile size of tmpfs (2.5.66 /
2.4.20-pre2)

On Wed, 2 Apr 2003, Robert White wrote:

> This (using swap as part of the tmpfs type system) is what happens on a
Sun.
> I was disappointed (surprised even) in the Linux implementations because
> mounting a truly temporary /tmp was what I wanted it for.

The Linux implementation of tmpfs _does_ use swap:
tmpfs data pages go out to swap under memory pressure.

> I would like to see a tmpfs (swapfs?) that did presume that files not in
use
> (lately?) would migrate out of my valuable RAM and onto the super-cheap
swap
> device.

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