Re: Questions regarding Linux swapping.

Gabor Lenart (lgb@oxygene.terra.vein.hu)
Mon, 2 Aug 1999 13:12:53 +0200


On Mon, Aug 02, 1999 at 11:13:48AM +0100, Chris Jones wrote:
> > Is there a way to tell the kernel to swap certain programs?

I don't think this would be usefull. Kernel swaps programs if necessary.

> Or possibly the other way around, to tell it not to swap certain
> programs?

Yes, see man pages of mlock() and mlockall().

-- 
 ---[ LGB/DC ]------------[ University Of Veszprém ]------[ Lénárt Gábor ]---
 "The truth is out there"  "We're l{ea,i}ving together" "The future is dark."
 ---[ 30/2270823 ]--------[ http://lgb.hal.vein.hu ]---------[ 87/477074 ]---
 finger lgb@hal2000.hal.vein.hu for more   -==-   SMS : lgblgb@westel900.net

- 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/