Messages in this thread | | | Date | Tue, 29 Apr 1997 19:07:10 -0400 (EDT) | From | yuri mironoff <> | Subject | Re: 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.
| |