Page MenuHomeFreeBSD

vm_object: Augment an assertion in vm_object_split()
ClosedPublic

Authored by markj on Aug 10 2026, 5:47 PM.
Tags
None
Referenced Files
F175010830: D58766.diff
Wed, Oct 7, 3:01 PM
Unknown Object (File)
Wed, Oct 7, 1:04 AM
Unknown Object (File)
Tue, Oct 6, 10:44 PM
Unknown Object (File)
Sat, Oct 3, 12:38 PM
Unknown Object (File)
Wed, Sep 30, 7:58 PM
Unknown Object (File)
Mon, Sep 28, 5:43 PM
Unknown Object (File)
Fri, Sep 25, 5:42 PM
Unknown Object (File)
Sun, Sep 20, 4:37 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