Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153054832
D16113.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
586 B
Referenced Files
None
Subscribers
None
D16113.id.diff
View Options
Index: head/sys/vm/uma_core.c
===================================================================
--- head/sys/vm/uma_core.c
+++ head/sys/vm/uma_core.c
@@ -2860,7 +2860,9 @@
{
uma_slab_t slab;
uma_keg_t keg;
+#ifdef NUMA
int stripe;
+#endif
int i;
slab = NULL;
@@ -2870,7 +2872,9 @@
if ((slab = zone->uz_slab(zone, keg, domain, flags)) == NULL)
break;
keg = slab->us_keg;
+#ifdef NUMA
stripe = howmany(max, vm_ndomains);
+#endif
while (slab->us_freecount && i < max) {
bucket[i++] = slab_alloc_item(keg, slab);
if (keg->uk_free <= keg->uk_reserve)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 9:16 PM (7 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31798917
Default Alt Text
D16113.id.diff (586 B)
Attached To
Mode
D16113: sys/vm/uma_core.c:zone_import() Wrap stripe variable in #ifdef NUMA
Attached
Detach File
Event Timeline
Log In to Comment