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
Unknown Object (File)
Fri, Oct 9, 10:05 AM
Unknown Object (File)
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75496
Build 72379: arc lint + arc unit