Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107285752
D31163.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
651 B
Referenced Files
None
Subscribers
None
D31163.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
@@ -2471,7 +2471,7 @@
}
static int
-sysctl_vm_object_list(SYSCTL_HANDLER_ARGS)
+vm_object_list_handler(struct sysctl_req *req)
{
struct kinfo_vmobject *kvo;
char *fullpath, *freepath;
@@ -2588,6 +2588,13 @@
free(kvo, M_TEMP);
return (error);
}
+
+static int
+sysctl_vm_object_list(SYSCTL_HANDLER_ARGS)
+{
+ return (vm_object_list_handler(req));
+}
+
SYSCTL_PROC(_vm, OID_AUTO, objects, CTLTYPE_STRUCT | CTLFLAG_RW | CTLFLAG_SKIP |
CTLFLAG_MPSAFE, NULL, 0, sysctl_vm_object_list, "S,kinfo_vmobject",
"List of VM objects");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 12:03 AM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15774076
Default Alt Text
D31163.diff (651 B)
Attached To
Mode
D31163: Add sysctl vm.objects_swap
Attached
Detach File
Event Timeline
Log In to Comment