From 114c916feab68ca95e9f22925f4114ba76078c9f Mon Sep 17 00:00:00 2001 From: Brendon Scheinman Date: Sat, 9 Mar 2013 19:28:02 -0600 Subject: [PATCH] ck_cohort_rw: Cleaned up regression files from last commit --- .gitignore | 1 + regressions/ck_cohort_rw/ck_cohort.h | 25 --------------------- regressions/ck_cohort_rw/validate/validate | Bin 30672 -> 0 bytes 3 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 regressions/ck_cohort_rw/ck_cohort.h delete mode 100755 regressions/ck_cohort_rw/validate/validate diff --git a/.gitignore b/.gitignore index 8ce486d..0193686 100644 --- a/.gitignore +++ b/.gitignore @@ -142,3 +142,4 @@ regressions/ck_queue/validate/ck_slist regressions/ck_cohort/validate/validate regressions/ck_cohort/benchmark/ck_cohort.LATENCY regressions/ck_cohort/benchmark/ck_cohort.THROUGHPUT +regressions/ck_cohort_rw/validate/validate diff --git a/regressions/ck_cohort_rw/ck_cohort.h b/regressions/ck_cohort_rw/ck_cohort.h deleted file mode 100644 index 847544c..0000000 --- a/regressions/ck_cohort_rw/ck_cohort.h +++ /dev/null @@ -1,25 +0,0 @@ -#define LOCK_NAME "ck_cohort" -#define LOCK_DEFINE\ - static ck_spinlock_fas_t global_fas_lock = CK_SPINLOCK_FAS_INITIALIZER;\ - static ck_spinlock_fas_t local_fas_lock = CK_SPINLOCK_FAS_INITIALIZER;\ - static void\ - ck_spinlock_fas_lock_with_context(ck_spinlock_fas_t *lock, void *context)\ - {\ - (void)context;\ - ck_spinlock_fas_lock(lock);\ - }\ -\ - static void\ - ck_spinlock_fas_unlock_with_context(ck_spinlock_fas_t *lock, void *context)\ - {\ - (void)context;\ - ck_spinlock_fas_unlock(lock);\ - }\ - CK_COHORT_PROTOTYPE(fas_fas,\ - ck_spinlock_fas_lock_with_context, ck_spinlock_fas_unlock_with_context,\ - ck_spinlock_fas_lock_with_context, ck_spinlock_fas_unlock_with_context)\ - static CK_COHORT_INSTANCE(fas_fas) CK_CC_CACHELINE cohort = CK_COHORT_INITIALIZER -#define LOCK_INIT CK_COHORT_INIT(fas_fas, &cohort, &global_fas_lock, &local_fas_lock,\ - CK_COHORT_DEFAULT_LOCAL_PASS_LIMIT) -#define LOCK CK_COHORT_LOCK(fas_fas, &cohort, NULL, NULL) -#define UNLOCK CK_COHORT_UNLOCK(fas_fas, &cohort, NULL, NULL) diff --git a/regressions/ck_cohort_rw/validate/validate b/regressions/ck_cohort_rw/validate/validate deleted file mode 100755 index c8f46cc62658105cb8fa2762df7aa17aae1abb03..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 30672 zcmeHwdwf*Yz3z#{0NOsxEwK62mV*xOVc@+Ms4-o&-7aDH3 zX-o89-gv2Y>^ryo+wkA@{^m`R&&EI5ko7Vh%WM*T?#UkR8o<)Ga*$M47{L7M5cKvT z=-(WI{%=FjDNG;!om(>qgT=FT2zqD;`r;wzly4vYo!b>44CZ(D5cHcsA1TI(PTzV! zLU2D3q0ol*Xh$fX2*(nkkO(c`6j~kG&>BxfVvF0t@pvRI&?Pz(EwM705;*mtSxw*BYHL*pshuhks zjo>#yP&8i`YlXp3Xj5}%thFQ29BORYDB@e8CCtT5dL;Ep`gMcC5b-tOwJ0gSrT9;dZyiDWClxI*j&NN(2b?wye}yPXo;Fk7 zCFKb}HgP=_vQOLhSI#$$ZPdT5O|`>t5X@b`$rlh#sXKmH;^PUYlpXJtcpl-fDULrZ z@eIN#MaTC^+(kI0=J+0oe^>yVn(p{EiJv5#Qgpmi;%^a7sX4x0;;$1q9sTZ{UGorIu&2v-oMg&Q^<59CUA^5u?DiakX3nkIlK+L= zvQtu`?+VG!x%Dm7G3VQT-P50hSg`Tk;O+(Q!h-0lhCpyvZ*}*Go^^v9AUKOM0e909QAD9DMr!dip;2yR;YV_Jlyq*?Bp1 z%HAz|W$CVWyOtlI%=H~1k?yyG`sf7^2_ACoN3#aI7a4~Z$sOa+A{zh2p+yB|aW2($ z$1_@R#}9pTC!8MZ6I&laSU&^sIHleUs|jK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