Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102662268
D44904.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
749 B
Referenced Files
None
Subscribers
None
D44904.diff
View Options
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c
--- a/sys/geom/eli/g_eli.c
+++ b/sys/geom/eli/g_eli.c
@@ -100,11 +100,13 @@
static bool g_eli_unmapped_io = true;
SYSCTL_BOOL(_kern_geom_eli, OID_AUTO, unmapped_io, CTLFLAG_RDTUN,
&g_eli_unmapped_io, 0, "Enable support for unmapped I/O");
+static int g_eli_alloc_sz;
+SYSCTL_UINT(_kern_geom_eli, OID_AUTO, use_uma_bytes, CTLFLAG_RD,
+ &g_eli_alloc_sz, 0, "Use uma(9) for allocations of this size or smaller.");
static struct sx g_eli_umalock; /* Controls changes to UMA zone. */
SX_SYSINIT(g_eli_umalock, &g_eli_umalock, "GELI UMA");
static uma_zone_t g_eli_uma = NULL;
-static int g_eli_alloc_sz;
static volatile int g_eli_umaoutstanding;
static volatile int g_eli_devs;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 12:41 PM (20 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14658873
Default Alt Text
D44904.diff (749 B)
Attached To
Mode
D44904: geli: add a read-only kern.geom.eli.use_uma_bytes sysctl
Attached
Detach File
Event Timeline
Log In to Comment