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/