lkml.org 
[lkml]   [1997]   [Apr]   [29]   [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, 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?

Regards,

Y.


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