Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178087407
D31163.1795922237.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
651 B
Referenced Files
None
Subscribers
None
D31163.1795922237.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
Sun, Nov 29, 3:17 AM (1 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42083129
Default Alt Text
D31163.1795922237.diff (651 B)
Attached To
Mode
D31163: Add sysctl vm.objects_swap
Attached
Detach File
Event Timeline