]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correct an error in the previous revision that could lead to a panic:
authorAlan Cox <alc@FreeBSD.org>
Wed, 14 Jun 2006 17:48:45 +0000 (17:48 +0000)
committerAlan Cox <alc@FreeBSD.org>
Wed, 14 Jun 2006 17:48:45 +0000 (17:48 +0000)
commitd2d9e24a897b39aee27c663d112a30151cb9fb63
tree2dff6c7d61b20fe878693932d132eef3a43a1ecf
parent89d098f8dd9c61d466a958550a73e277d21b5dc0
Correct an error in the previous revision that could lead to a panic:
Found mapped cache page.  Specifically, if cnt.v_free_count dips below
cnt.v_free_reserved after p_start has been set to a non-NULL value,
then vm_map_pmap_enter() would break out of the loop and incorrectly
call pmap_enter_object() for the remaining address range.  To correct
this error, this revision truncates the address range so that
pmap_enter_object() will not map any cache pages.

In collaboration with: tegge@
Reported by: kris@
sys/vm/vm_map.c