Page MenuHomeFreeBSD

vm_object: Augment an assertion in vm_object_split()
ClosedPublic

Authored by markj on Mon, Aug 10, 5:47 PM.
Tags
None
Referenced Files
F166777350: D58766.diff
Sun, Aug 16, 12:24 PM
F166768663: D58766.diff
Sun, Aug 16, 9:36 AM
Unknown Object (File)
Sun, Aug 16, 5:29 AM
Unknown Object (File)
Sun, Aug 16, 12:29 AM
Unknown Object (File)
Thu, Aug 13, 11:35 PM
Unknown Object (File)
Thu, Aug 13, 5:40 AM
Unknown Object (File)
Wed, Aug 12, 11:27 PM
Unknown Object (File)
Tue, Aug 11, 8:20 AM
Subscribers

Details

Summary

In some private discussion it was pointed out that vm_object_split()'s
pattern of dropping the source object lock looks dangerous in that the
initial assumption that OBJ_ONEMAPPING is set may become false. In
practice I believe that the map lock holds this flag stable, but let's
assert that.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable