Print this page
8368 remove warlock leftovers from usr/src/uts

*** 93,105 **** ibt_cq = kmem_zalloc(sizeof (struct ibtl_cq_s), KM_SLEEP); *ibt_cq_p = ibt_cq; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(ibt_cq->cq_in_thread)) - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(ibt_cq->cq_ibc_cq_hdl)) - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(ibt_cq->cq_hca)) /* * Set the following values before creating CI CQ, to avoid race * conditions on async callback. */ ibt_cq->cq_hca = hca_hdl; --- 93,102 ----
*** 121,133 **** if (cq_attr->cq_flags & IBT_CQ_HANDLER_IN_THREAD) { ibt_cq->cq_in_thread = 1; /* We may want additional CQ threads now. */ ibtl_another_cq_handler_in_thread(); } - _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(ibt_cq->cq_in_thread)) - _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(ibt_cq->cq_ibc_cq_hdl)) - _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(ibt_cq->cq_hca)) mutex_init(&ibt_cq->cq_mutex, NULL, MUTEX_DEFAULT, NULL); /* Update the cq resource count */ atomic_inc_32(&hca_hdl->ha_cq_cnt); --- 118,127 ----
*** 231,242 **** return (IBTL_CQ2CIHCAOPS_P(ibt_cq)->ibc_poll_cq(IBTL_CQ2CIHCA(ibt_cq), ibt_cq->cq_ibc_cq_hdl, work_completions, num_wc, num_polled)); } - _NOTE(SCHEME_PROTECTS_DATA("client managed", ibtl_cq_s::cq_clnt_private)) - /* * ibt_set_cq_private - Sets the private data on a given CQ * * ibt_cq The ibt_cq_hdl_t of the allocated CQ. * clnt_private The client private data. --- 225,234 ----