System call munmap returning with the following locks held: Giant

Kris Kennaway kris at obsecurity.org
Wed Jan 18 14:11:15 PST 2006


On Wed, Jan 18, 2006 at 04:52:56PM -0500, John Baldwin wrote:

> I sent this to you on IRC, but for the archives, here's a possible fix.  It 
> looks like vm_object_deallocate() never unlocks Giant if it locks it, and the 
> leak would only happen if mpsafevfs=0 or you are using a non-safe filesystem:

It seems to work; and NFS is non mp-safe, right?

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060118/d38b4b36/attachment.bin


More information about the freebsd-current mailing list