lkml.org 
[lkml]   [1997]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Signal 7 and "Couldn't get a free page..."
Hi,

On Tue, 29 Apr 1997, yuri mironoff wrote:

> On Tue, 29 Apr 1997, David S. Miller wrote:
>
> > Yes this is known, quick easy fix for this is to increase magic
> > constant in free_area_init() initial comparison to 48, like so:
> >
> > /*
> > * select nr of pages we try to keep free for important stuff
> > * with a minimum of 48 pages. This is totally arbitrary
> > */
> > i = (end_mem - PAGE_OFFSET) >> (PAGE_SHIFT+7);
> > if (i < 48)
> > i = 48;
> >
> > This is what Linus and myself have in our trees.
> >
>
> Would it be a good idea to set this number based on physical memory
> size or at least have it as a kernel config option?

This is already the case. These lines only make sure that on every machine
there are at least 48 pages, even if you have only 8MB.

> Regards,
>
> Y.

Hubert mantel@suse.de


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.237 / U:1.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site