ソースを参照

revert 16092: the test is already performed above

Samuel Thibault 9 年 前
コミット
105bef2aaa
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      src/datawizard/memalloc.c

+ 2 - 1
src/datawizard/memalloc.c

@@ -994,7 +994,8 @@ void starpu_memchunk_tidy(unsigned node)
 				mc->clean = 1;
 				mc_clean_nb[node]++;
 			}
-			else if (handle->per_node[node].refcnt == 0) {
+			else
+			{
 				/* MC is dirty and nobody working on it, submit writeback */
 
 				/* MC will be clean, consider it as such */