Page MenuHomeFreeBSD

Fix a double unlock in vm_object_backing_collapse_wait().
ClosedPublic

Authored by markj on Jun 17 2020, 6:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 17, 12:24 AM
Unknown Object (File)
Fri, Oct 17, 12:24 AM
Unknown Object (File)
Fri, Oct 17, 12:24 AM
Unknown Object (File)
Thu, Oct 16, 3:33 PM
Unknown Object (File)
Thu, Oct 16, 4:59 AM
Unknown Object (File)
Sep 11 2025, 2:52 AM
Unknown Object (File)
Sep 10 2025, 11:36 PM
Unknown Object (File)
Sep 5 2025, 2:21 AM
Subscribers

Details

Summary

vm_object_pip_sleep() will release the lock, I believe. I noticed this
by code inspection, so I'm not certain that this code is reachable.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Jun 17 2020, 6:30 PM
markj created this revision.

It should be very hard to provoke this situation, but I believe it is real.

This revision is now accepted and ready to land.Jun 18 2020, 11:44 PM