Subject: Re: System crash with too much memory
To: None <tech-kern@netbsd.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-kern
Date: 04/23/2003 04:30:25
On Tuesday 22 April 2003 17:58, D'Arcy J.M. Cain wrote:
> I guess I have to track down allocsys and fix it there.

I did and found this code in sys/kern/kern_allocsys.c:

    if (nbuf == 0) {
        nbuf = bufpages;
        if (nbuf < 16)
            nbuf = 16;
    }

I'm thinking that that's the place to fix it but that affects all ports and 
I'm not sure that's correct either.  I'll try it to see if it helps me but 
need others to help me determine the long term fix.

-- 
D'Arcy J.M. Cain <darcy@netbsd.org>
http://www.NetBSD.org/