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
Unknown Object (File)
Mon, Sep 7, 5:11 PM
Unknown Object (File)
Sun, Sep 6, 3:09 PM
Unknown Object (File)
Sat, Sep 5, 6:13 AM
Unknown Object (File)
Sat, Sep 5, 5:30 AM
Unknown Object (File)
Fri, Sep 4, 9:12 PM
Unknown Object (File)
Fri, Sep 4, 9:05 PM
Unknown Object (File)
Fri, Sep 4, 5:04 PM
Unknown Object (File)
Fri, Sep 4, 11:19 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