[DragonFlyBSD - Bug #3433] (Resolved) vm_map: use normal COW inheritance for user-wired mappings
liweitianux
bugtracker-admin at leaf.dragonflybsd.org
Mon Oct 5 04:14:27 PDT 2026
Issue #3433 has been updated by liweitianux.
Status changed from New to Resolved
Patch merged. Thank you.
----------------------------------------
Bug #3433: vm_map: use normal COW inheritance for user-wired mappings
http://bugs.dragonflybsd.org/issues/3433#change-14784
* Author: sigttou
* Status: Resolved
* Priority: Normal
* Category: Kernel
* Target version: 6.6
* Start date: 2026-10-03
----------------------------------------
Forking an mlock()ed MAP_PRIVATE file mapping can panic with "vm_fault_copy_wired: page missing". The wired-copy path expects the page in the front object, but it may be in a backing object or have been removed after the file was truncated.
Use normal COW inheritance for normal mappings with only a user wire. The parent stays user-wired and the child remains unwired. The normal fault path resolves backing pages and handles pager errors. Keep eager copying for hard-wired and virtual-page-table mappings.
---Files--------------------------------
0003-vm-map-user-wired-fork-cow.patch (1.54 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list