ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: major Linux 2.4 kernel bug

To:
Subject: Re: [ts-7000] Re: major Linux 2.4 kernel bug
From: Jim Jackson <>
Date: Thu, 26 Jan 2006 15:38:14 +0000 (GMT)
On Thu, 26 Jan 2006, Yan Seiner wrote:
> --- In  "Jesse Off" <> wrote:
> >
> > A lot of people have been noticing "__alloc_pages: 0-order allocation
> > failed" being printed by the kernel and subsequent kernel freezes in low
> > memory conditions.  It turns out that the kernel actually has a lot more
> > memory free when these messages appear and the intentional Linux behavior
> > on out-of-memory condition is to randomly kill processes (*not* to lock
> > up with these messages).
> >
> > This patch fixes a bug originally fixed by a Linux contracting firm for
> > one of our customers, but who both were unwilling to give the GPL'ed code
> > back to the community (they wanted to sell it)
...snip...
>
> Is anyone aware of a way to prioritize the way the kernel kills processes?

Good question. I vaguely remember reading a discussion on this some years
back.

However, I wonder if these system calls

mlock (2)            - disable paging for some parts of memory
mlockall (2)         - disable paging for calling process
munlock (2)          - reenable paging for some parts of memory
munlockall (2)       - reenable paging for calling process

are any use. I'd guess that a process whose pages were locked
would be protected in some way???? To be honest I'm guessing, but if
you do find out I'd sure be interested.

Jim



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
  • Re: [ts-7000] Re: major Linux 2.4 kernel bug, Jim Jackson <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU