Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148079296
D49763.1785298314.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
456 B
Referenced Files
None
Subscribers
None
D49763.1785298314.diff
View Options
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c
--- a/sys/fs/tmpfs/tmpfs_subr.c
+++ b/sys/fs/tmpfs/tmpfs_subr.c
@@ -443,7 +443,7 @@
}
SYSCTL_PROC(_vfs_tmpfs, OID_AUTO, memory_percent,
- CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RW, &tmpfs_mem_percent, 0,
+ CTLTYPE_INT | CTLFLAG_MPSAFE | CTLFLAG_RWTUN, &tmpfs_mem_percent, 0,
sysctl_mem_percent, "I",
"Percent of available memory that can be used if no size limit");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 29, 4:11 AM (22 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29293341
Default Alt Text
D49763.1785298314.diff (456 B)
Attached To
Mode
D49763: tmpfs: turn vfs.tmpfs.memory_percent into CTLFLAG_RWTUN
Attached
Detach File
Event Timeline
Log In to Comment