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
F169762322: D58766.id183877.diff
Wed, Sep 2, 11:59 AM
F169715767: D58766.id183813.diff
Wed, Sep 2, 9:01 AM
F169699064: D58766.diff
Wed, Sep 2, 8:01 AM
Unknown Object (File)
Mon, Aug 31, 6:33 AM
Unknown Object (File)
Mon, Aug 31, 6:06 AM
Unknown Object (File)
Mon, Aug 31, 3:08 AM
Unknown Object (File)
Mon, Aug 31, 2:00 AM
Unknown Object (File)
Mon, Aug 31, 2:00 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