Re: Swap vnode's [was overcommit thread]

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Mar 30 2000 - 21:57:30 EST


On Thu, 30 Mar 2000, 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?
>
> Sure it isn't "secure" because all your file systems can be full, but that's
> unlikely, use the last X% reserved for root. For the anal among us, you can
> add a "reserved swap space" to the file system and make that be big enough.
> Disk is cheap.

Could you spell 'DoS'? Besides, the _last_ thing you want if you got a
leaking FPOS on hands is to get all disks full. Dunno about you, but I
find coredumps useful...

-
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:28 EST