[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum and low memory kernel behaviour



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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]