Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



cgd
Thu Jun 13 13:11:02 EDT 1996
Update of /a/cvsroot/src/sys/kern
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv9060

Revision/Branch: netbsd-1-2

Modified Files:
        kern_malloc.c 
Log Message:
pull up from trunk:
>handle the case where kmem_malloc() returns NULL in the 'can wait' case.
>Right now, this code just panic()s (same as kmem_malloc() used to do
>before, but different message), but in the future it should be modified
>to try to reclaim wasted memory.


cgd
Thu Jun 13 13:11:50 EDT 1996
Update of /a/cvsroot/src/sys/kern
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv9096

Revision/Branch: netbsd-1-2

Modified Files:
        uipc_mbuf.c 
Log Message:
pull up from trunk:
>if kmem_malloc() fails while trying to allocate an mbuf cluster, try
>and free some space by calling m_reclaim().  Also, log the "mb_map full"
>error message (at most) every 60-seconds.  The old code would log it
>once over the lifetime of the system, but that's not a useful diagnostic.
>(More useful is the new behaviour, which roughly indicates how often
>periods of heavy load occur, without spamming the console and system
>logs with messages.)




Home | Main Index | Thread Index | Old Index