Page MenuHomeFreeBSD

D31163.diff
No OneTemporary

D31163.diff

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

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)

Event Timeline