Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146102220
D17323.id48550.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
798 B
Referenced Files
None
Subscribers
None
D17323.id48550.diff
View Options
Index: head/sys/vm/vm_fault.c
===================================================================
--- head/sys/vm/vm_fault.c
+++ head/sys/vm/vm_fault.c
@@ -1633,16 +1633,16 @@
dst_object->flags |= OBJ_COLORED;
dst_object->pg_color = atop(dst_entry->start);
#endif
+ dst_object->domain = src_object->domain;
+ dst_object->charge = dst_entry->end - dst_entry->start;
}
VM_OBJECT_WLOCK(dst_object);
KASSERT(upgrade || dst_entry->object.vm_object == NULL,
("vm_fault_copy_entry: vm_object not NULL"));
if (src_object != dst_object) {
- dst_object->domain = src_object->domain;
dst_entry->object.vm_object = dst_object;
dst_entry->offset = 0;
- dst_object->charge = dst_entry->end - dst_entry->start;
}
if (fork_charge != NULL) {
KASSERT(dst_entry->cred == NULL,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 28, 8:21 PM (11 h, 45 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29081160
Default Alt Text
D17323.id48550.diff (798 B)
Attached To
Mode
D17323: Fix two issues with mprotect(PROT_WRITE) and wiring.
Attached
Detach File
Event Timeline
Log In to Comment