From 47fe8452f84d106ae22075904267162a13a52d30 Mon Sep 17 00:00:00 2001
From: whh8b <whh8b@git.zephyr-software.com>
Date: Thu, 14 Jan 2016 03:32:57 +0000
Subject: [PATCH] (Temporarily) Search for smallest possible ranges to place

---
 src/zipr.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/zipr.cpp b/src/zipr.cpp
index 4c78cae..a84daea 100644
--- a/src/zipr.cpp
+++ b/src/zipr.cpp
@@ -1406,7 +1406,12 @@ void ZiprImpl_t::PlaceDollops()
 		}
 		if (!placed) {
 			cout << "Using default place locator." << endl;
-			placement = memory_space.GetFreeRange(to_place->GetSize());
+			/*
+			 * TODO: Re-enable this ONCE we figure out why the dollop
+			 * sizes are not being recalculated correctly.
+			 */
+			//placement = memory_space.GetFreeRange(to_place->GetSize());
+			placement = memory_space.GetFreeRange(minimum_valid_req_size);
 		}
 
 		cur_addr = placement.GetStart();
-- 
GitLab