Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/02/1999 14:23:09
Module Name: syssrc
Committed By: thorpej
Date: Wed Jun 2 21:23:09 UTC 1999
Modified Files:
syssrc/sys/uvm: uvm_map.c
Log Message:
Clean up the locking mess in uvm_map_pageable() a little... Most importantly,
don't unlock a kernel map (!!!) and then relock it later; a recursive lock,
as it used in the user map case, is fine. Also, don't change map entries
while only holding a read lock on the map. Instead, if we fail to wire
a page, clear recursive locking, and upgrade back to a write lock before
dropping the wiring count on the remaining map entries.
To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 syssrc/sys/uvm/uvm_map.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.