Re: Swap vnode's [was overcommit thread]

From: Stephen C. Tweedie (sct@redhat.com)
Date: Fri Mar 31 2000 - 13:04:24 EST


Hi,

On Thu, Mar 30, 2000 at 06:41:56PM -0800, Larry McVoy wrote:
> I've watched this go on (and on and on) and I don't remember anyone
> thinking of this easy solution: just use free disk space in any
> mounted file system as swap over flow. So if you run out, create
> /lost+found/swap-overflow, do a mkswap on it, and start allocating
> swap pages out of there. What's the problem with that?

There has been a "swapd" daemon kicking around for years which
allocates and swapons new swap files in the filesystem when you run
short of swap space. That's orthogonal to the problem of what to
do when there isn't any more space available.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:29 EST