Explorar el Código

- missing handle unlock in starpu_memchunk_tidy()

Olivier Aumage hace 8 años
padre
commit
31ce7b0254
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/datawizard/memalloc.c

+ 3 - 0
src/datawizard/memalloc.c

@@ -1014,8 +1014,11 @@ void starpu_memchunk_tidy(unsigned node)
 			if (handle->current_mode == STARPU_W)
 			{
 				if (handle->write_invalidation_req)
+				{
 					/* Some request is invalidating it anyway */
+					_starpu_spin_unlock(&handle->header_lock);
 					continue;
+				}
 
 				unsigned n;
 				for (n = 0; n < STARPU_MAXNODES; n++)