Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148968059
D53599.id165892.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D53599.id165892.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
@@ -457,7 +457,7 @@
size_t avail;
long reserved;
- avail = swap_pager_avail + vm_free_count();
+ avail = swap_pager_avail + vm_free_count() + vm_inactive_count();
reserved = atomic_load_long(&tmpfs_pages_reserved);
if (__predict_false(avail < reserved))
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 22, 9:47 AM (7 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30117666
Default Alt Text
D53599.id165892.diff (411 B)
Attached To
Mode
D53599: tmpfs: Include inactive memory in "available" calculation
Attached
Detach File
Event Timeline
Log In to Comment