FreeBSD Bugzilla – Attachment 89633 Details for
Bug 126609
[vm] [patch] Unused variable `nosleepwithlocks' in sys/vm/uma_core.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 779 bytes, created by
Mateusz Guzik
on 2008-08-18 00:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Mateusz Guzik
Created:
2008-08-18 00:10:01 UTC
Size:
779 bytes
patch
obsolete
>--- sys/vm/uma_core.c.orig 2008-08-18 00:30:29.000000000 +0200 >+++ sys/vm/uma_core.c 2008-08-18 00:31:17.000000000 +0200 >@@ -247,17 +247,10 @@ > void uma_print_zone(uma_zone_t); > void uma_print_stats(void); > static int sysctl_vm_zone_count(SYSCTL_HANDLER_ARGS); > static int sysctl_vm_zone_stats(SYSCTL_HANDLER_ARGS); > >-#ifdef WITNESS >-static int nosleepwithlocks = 1; >-#else >-static int nosleepwithlocks = 0; >-#endif >-SYSCTL_INT(_debug, OID_AUTO, nosleepwithlocks, CTLFLAG_RW, &nosleepwithlocks, >- 0, "Convert M_WAITOK to M_NOWAIT to avoid lock-held-across-sleep paths"); > SYSINIT(uma_startup3, SI_SUB_VM_CONF, SI_ORDER_SECOND, uma_startup3, NULL); > > SYSCTL_PROC(_vm, OID_AUTO, zone_count, CTLFLAG_RD|CTLTYPE_INT, > 0, 0, sysctl_vm_zone_count, "I", "Number of UMA zones");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126609
: 89633