RE: Kswapd flaw

From: Al Boldi
Date: Tue Jun 28 2005 - 04:09:51 EST


Michal Schmidt wrote:
> The kernel can always discard pages of executables and read-only mapped
files,
> because it can load them back if necessary.
> If you don't like this, call mlockall() in your program.

Thanks for the pointer, but what if I don't own the source.
Is there a way to tell kswapd to disable this feature?

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