Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160684825
D52997.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
806 B
Referenced Files
None
Subscribers
None
D52997.diff
View Options
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -2522,15 +2522,13 @@
continue;
}
mtx_unlock(&vm_object_list_mtx);
+
+ memset(kvo, 0, sizeof(*kvo));
kvo->kvo_size = ptoa(obj->size);
kvo->kvo_resident = obj->resident_page_count;
kvo->kvo_ref_count = obj->ref_count;
kvo->kvo_shadow_count = atomic_load_int(&obj->shadow_count);
kvo->kvo_memattr = obj->memattr;
- kvo->kvo_active = 0;
- kvo->kvo_inactive = 0;
- kvo->kvo_laundry = 0;
- kvo->kvo_flags = 0;
if (!swap_only) {
vm_page_iter_init(&pages, obj);
VM_RADIX_FOREACH(m, &pages) {
@@ -2552,9 +2550,6 @@
}
}
- kvo->kvo_vn_fileid = 0;
- kvo->kvo_vn_fsid = 0;
- kvo->kvo_vn_fsid_freebsd11 = 0;
freepath = NULL;
fullpath = "";
vp = NULL;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 27, 6:45 PM (3 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34353913
Default Alt Text
D52997.diff (806 B)
Attached To
Mode
D52997: vm_object: Reset kvo_path on each iteration in vm_object_list_handler()
Attached
Detach File
Event Timeline
Log In to Comment