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

CaT (cat@zip.com.au)
Thu, 3 Apr 2003 00:44:32 +1000


On Wed, Apr 02, 2003 at 09:20:50AM +0200, Christoph Rohland wrote:
> If you now were able to take advantage of additional swap
> automatically administration would be a no brainer. Also distributions

Sounds like what you want is a dynamically resizing tmpfs based on the
amount of memory (ram+swap) available. That's a much bigger goose to fry
I believe.

Now, even if the percentile patch took into account swap, you'd still
need to remount tmpfs in order to get it to take into account of any
swap you add on the fly.

> could add much saner defaults for /dev/shm or even use it for /tmp.

I use it for /tmp now just fine. :) It's sized at 63% of 256MB of RAM.

-- 
"Other countries of course, bear the same risk. But there's no doubt his
hatred is mainly directed at us. After all this is the guy who tried to
kill my dad."
        - George W. Bush Jr, Leader of the United States Regime
          September 26, 2002 (from a political fundraiser in Houston, Texas)
-
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/