Skip to contentSkip to conversation

SPARC32 out of iommu/nocache

DISCUSSION Keith M Wesolowski 1 participant 1 message Apr 1, 2004

lore
Share & tools
lore
#0 lore raw

I'm sure moving to first/next for allocation instead of straight next helps with fragmentation.

However, what will help a lot more, especially with iommu, is to fix this bug that prevents the allocator from ever reallocating anything once it uses the area at the end of the map.

Please test.

Enjoy this one, folks. :-)

=== arch/sparc/lib/bitext.c 1.1 vs edited ==--- 1.1/arch/sparc/lib/bitext.c Wed Apr 30 01:05:41 2003
+++ edited/arch/sparc/lib/bitext.c Thu Apr 1 01:57:22 2004
@@ -60,8 +60,8 @@
}

if (offset + len > t->size) {
- offset = 0;
count += t->size - offset;
+ offset = 0;
continue;
}

Signature · 1 line
Keith M Wesolowski