yum and low memory kernel behaviour

Alan Cox alan at redhat.com
Sun Oct 24 13:54:05 UTC 2004


On Sun, Oct 24, 2004 at 03:43:23AM -0400, seth vidal wrote:
> I do not know of anyway of a userland application to force the kernel to
> not allow the use of swap. I can tell you definitely that I have not
> intentionally programmed yum to do that.

mlockall().

It is normally the wrong thing to do. You can also hint to the kernel that
stuff is no longer needed using madvise().

This sounds rather more like an application programming issue however 8)




More information about the fedora-test-list mailing list