/* * drain_pcommit -- (internal) wait for PM stores to drain, pcommit version */ static void drain_pcommit(void) { LOG(15, NULL); Func_predrain_fence(); _mm_pcommit(); _mm_sfence(); }
/* * drain_no_pcommit -- (internal) wait for PM stores to drain, empty version */ static void drain_no_pcommit(void) { LOG(15, NULL); Func_predrain_fence(); VALGRIND_DO_COMMIT; VALGRIND_DO_FENCE; /* caller assumed responsibility for the rest */ }
/* * drain_no_pcommit -- (internal) wait for PM stores to drain, empty version */ static void drain_no_pcommit(void) { Func_predrain_fence(); /* caller assumed responsibility for the rest */ }