Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157578178
D23275.id67035.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
518 B
Referenced Files
None
Subscribers
None
D23275.id67035.diff
View Options
Index: sys/vm/uma_core.c
===================================================================
--- sys/vm/uma_core.c
+++ sys/vm/uma_core.c
@@ -2500,11 +2500,11 @@
pages += keg->uk_domain[i].ud_pages;
KEG_LOCK_FINI(keg, i);
}
- if (free != 0)
+ if (pages != 0)
printf("Freed UMA keg (%s) was not empty (%u items). "
" Lost %u pages of memory.\n",
keg->uk_name ? keg->uk_name : "",
- free, pages);
+ pages / keg->uk_ppera * keg->uk_ipers - free, pages);
hash_free(&keg->uk_hash);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 24, 12:44 AM (7 h, 3 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33460229
Default Alt Text
D23275.id67035.diff (518 B)
Attached To
Mode
D23275: uma: report leaks more accurately
Attached
Detach File
Event Timeline
Log In to Comment