From b4e9045c9be4f3cd8bcb360c289ea05919d6b87a Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sat, 9 Feb 2013 14:12:50 -0500 Subject: [PATCH] ck_barrier_tournament: Remove old/stale comments. ck_pr_load is unnecessary. It is assumed a strong fence follows initialization (through thread creation boundary, for example or explicit IPI). --- src/ck_barrier_tournament.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ck_barrier_tournament.c b/src/ck_barrier_tournament.c index 0743b3e..851bc03 100644 --- a/src/ck_barrier_tournament.c +++ b/src/ck_barrier_tournament.c @@ -113,7 +113,7 @@ ck_barrier_tournament(struct ck_barrier_tournament *barrier, int round = 1; for (;; ++round) { - switch (rounds[state->vpid][round].role) { // MIGHT NEED TO USE CK_PR_LOAD*** + switch (rounds[state->vpid][round].role) { case CK_BARRIER_TOURNAMENT_BYE: break; case CK_BARRIER_TOURNAMENT_CHAMPION: @@ -152,7 +152,7 @@ ck_barrier_tournament(struct ck_barrier_tournament *barrier, wakeup: for (round -= 1 ;; --round) { - switch (rounds[state->vpid][round].role) { // MIGHT NEED TO USE CK_PR_LOAD*** + switch (rounds[state->vpid][round].role) { case CK_BARRIER_TOURNAMENT_BYE: break; case CK_BARRIER_TOURNAMENT_CHAMPION: