Explorar o código

memalloc: Do try to reuse a non-wontuse memchunk for a prefetch

Wontuse is just a hint from the application, while we have nb_tasks_prefetch which counts properly.
Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
e88a1e567a
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      src/datawizard/memalloc.c

+ 0 - 3
src/datawizard/memalloc.c

@@ -890,9 +890,6 @@ restart:
 		if (mc->remove_notify)
 			/* Somebody already working here, skip */
 			continue;
-		if (!mc->wontuse && is_prefetch >= STARPU_PREFETCH)
-			/* Do not evict something that we might reuse, just for a prefetch */
-			continue;
 		if (is_prefetch >= STARPU_TASK_PREFETCH && mc->data->per_node[node].nb_tasks_prefetch)
 			/* Do not evict something that we will reuse, just for a task prefetch */
 			continue;