|
From: <sv...@va...> - 2008-04-19 15:16:31
|
Author: bart
Date: 2008-04-19 16:15:12 +0100 (Sat, 19 Apr 2008)
New Revision: 7890
Log:
Disabled complex logic in danger_set_update_needed() since it did not result in any speedup.
Modified:
trunk/exp-drd/drd_thread.c
Modified: trunk/exp-drd/drd_thread.c
===================================================================
--- trunk/exp-drd/drd_thread.c 2008-04-19 14:46:57 UTC (rev 7889)
+++ trunk/exp-drd/drd_thread.c 2008-04-19 15:15:12 UTC (rev 7890)
@@ -618,6 +618,7 @@
static Bool danger_set_update_needed(const DrdThreadId tid,
const Segment* const new_sg)
{
+#if 0
unsigned i;
const Segment* old_sg;
@@ -666,6 +667,9 @@
}
return False;
+#else
+ return True;
+#endif
}
/** Create a new segment for the specified thread, and discard any segments
|