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

Henning P. Schmiedehausen
2003-04-04T11:26:26Z

=?iso-8859-1?Q?J=F6rn?= Engel <joern@wohnheim.fh-wedel.de> writes:

>On Wed, 2 April 2003 19:33:05 +0200, Christoph Rohland wrote:
>>
>> No, that's why I said you would need hooks into swapon and
>> swapoff. Then it would adjust on the fly. Else it's useless from the
>> usability point of view. With these hooks it's easy to do.

>Can you show me the easy part with this setup?
>256MB RAM
>512MB swap
>50% tmpfs (384MB)
>fill tmpfs completely
>swapoff -a

# swapoff -a
swapoff: device is busy

# umount /tmpfs
# swapoff -a
#

... in an ideal world, of course.

Regards
Henning

--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire