Messages in this thread | | | Date | Wed, 30 Apr 1997 14:07:49 +0200 (MEST) | From | Hubert Mantel <> | Subject | Re: 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
| |