Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 1998 14:27:21 -0500 (EST)
From:      zhihuizhang <bf20761@binghamton.edu>
To:        hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Question on lock
Message-ID:  <Pine.SOL.L3.93.981216141324.15319A-100000@bingsun2>

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

In the comment of vm_map_pageable() in file vm_map.c, there is a following
sentence:

"Because of problems in the recursive lock package, we cannot upgrade to a
write lock in vm_map_lookup." 

Does the recursive lock package refer to kern_lock.c? There IS a
lock_read_to_write() call in vm_map_lookup(). So why there is such a
problem?  Please give me some enlightenment.

Any help is appreciated.

-------------------------------------------------- 
| Zhihui Zhang, http://cs.binghamton.edu/~zzhang |
| Dept. of Computer Science,  SUNY at Binghamton |
--------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.L3.93.981216141324.15319A-100000>