Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171140578
D32516.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
444 B
Referenced Files
None
Subscribers
None
D32516.diff
View Options
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -4038,7 +4038,8 @@
dom = &keg->uk_domain[slab->us_domain];
do {
bucket[i++] = slab_alloc_item(keg, slab);
- if (dom->ud_free_items <= keg->uk_reserve) {
+ if (keg->uk_reserve > 0 &&
+ dom->ud_free_items <= keg->uk_reserve) {
/*
* Avoid depleting the reserve after a
* successful item allocation, even if
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 9, 11:21 PM (4 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38618769
Default Alt Text
D32516.diff (444 B)
Attached To
Mode
D32516: uma: Fix handling of reserves in zone_import()
Attached
Detach File
Event Timeline
Log In to Comment