Re: why swap at all?

From: FabF
Date: Tue Jun 01 2004 - 14:53:44 EST


On Tue, 2004-06-01 at 21:02, Valdis.Kletnieks@xxxxxx wrote:
> On Tue, 01 Jun 2004 20:36:23 +0200, FabF said:
>
> > I guess we have a design problem right here.We could add per-process
> > swappiness attribute.That swap thread becomes boring coz we're looking
> > globally what's going wrong locally.
>
> Hmm.. do we need to worry about the same DoS issues we need to worry about with
> mlock and friends? I know I can trust myself to not do stupid things to said
> flags on my laptop (well... not twice anyhow ;). On the other hand, I have
> systems with clueless users, and the even more dangerous half-clued users. And
> then I have a bunch of machines in our security lab, where Bad Things happen
> all the time...

I was thinking about some rule e.g. any process using libX* isn't
swapped to disk until OOM ...

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