Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 13:58:42 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_kern.c
Message-ID:  <Pine.NEB.3.96L.1040216135731.63057M-100000@fledge.watson.org>
In-Reply-To: <200402161841.i1GIfwmv008267@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 16 Feb 2004, Dag-Erling Smorgrav wrote:

>   Log:
>   Don't panic if we fail to satisfy an M_WAITOK request; return 0 instead.
>   The calling code will either handle that gracefully or cause a page fault.

Also, this turns an easily understood and widely documented kernel panic
message into a page fault.  Prior to this, users could google for the
message and find documentation on increasing the size of the kernel
address space.  Now, it requires facility with the source code in order to
figure out what it is going on (since the page fault trace won't include
the memory allocation). 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Senior Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040216135731.63057M-100000>