@@ -42,6 +42,9 @@ int _starpu_memory_manager_init()
{
global_size[i] = 0;
used_size[i] = 0;
+ /* This is accessed for statistics outside the lock, don't care
+ * about that */
+ STARPU_HG_DISABLE_CHECKING(used_size[node]);
min_waiting_size[i] = 0;
STARPU_PTHREAD_MUTEX_INIT(&lock_nodes[i], NULL);
STARPU_PTHREAD_COND_INIT(&cond_nodes[i], NULL);
@@ -72,13 +72,6 @@
}
- Ignore used_size statistics access
- Helgrind:Race
- fun:starpu_memory_get_available
- ...
-}
-
-{
mc / handle locking order. We always take handle before mc, except when we tidy memory, where we use trylock, but helgrind doesn't handle that :/ https://bugs.kde.org/show_bug.cgi?id=243232
Helgrind:LockOrder
...