Re: broken VM in 2.4.10-pre9

Dan Maas (dmaas@dcine.com)
Sun, 16 Sep 2001 14:06:08 -0400


> Agreed. I'd be great if there was an option to say "Don't swap out
> memory that was allocated by these programs. If you run out of disk
> buffers, toss the oldest ones and start re-using them."

Have you tried mlockall(MCL_FUTURE)? It's a sledge-hammer but it will do
what you ask...

Dan

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