Print this page
8368 remove warlock leftovers from usr/src/uts
*** 196,206 ****
flag = (sleepflag == HERMON_SLEEP) ? KM_SLEEP : KM_NOSLEEP;
tmp_rsrc_hdl = kmem_cache_alloc(state->hs_rsrc_cache, flag);
if (tmp_rsrc_hdl == NULL) {
return (DDI_FAILURE);
}
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tmp_rsrc_hdl))
/*
* Set rsrc_hdl type. This is later used by the hermon_rsrc_free call
* to know what type of resource is being freed.
*/
--- 196,205 ----
*** 321,331 ****
flag = (sleepflag == HERMON_SLEEP) ? KM_SLEEP : KM_NOSLEEP;
tmp_rsrc_hdl = kmem_cache_alloc(state->hs_rsrc_cache, flag);
if (tmp_rsrc_hdl == NULL) {
return (DDI_FAILURE);
}
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tmp_rsrc_hdl))
/*
* Set rsrc_hdl type. This is later used by the hermon_rsrc_free call
* to know what type of resource is being freed.
*/
--- 320,329 ----
*** 2081,2096 ****
}
mutex_enter(&icm_table->icm_table_lock);
hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl);
while (num) {
- #ifndef __lock_lint
while (icm_table->icm_busy) {
cv_wait(&icm_table->icm_table_cv,
&icm_table->icm_table_lock);
}
- #endif
if (!HERMON_BMAP_BIT_ISSET(bitmap, index2)) {
/* Allocate ICM for this span */
icm_table->icm_busy = 1;
mutex_exit(&icm_table->icm_table_lock);
status = hermon_icm_alloc(state, type, index1, index2);
--- 2079,2092 ----
*** 2357,2367 ****
status = hermon_rsrc_swhdl_alloc(pool_info, sleepflag, hdl);
if (status != DDI_SUCCESS) {
return (DDI_FAILURE);
}
addr = (hermon_pdhdl_t)hdl->hr_addr;
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*addr))
/* Allocate a PD number for the handle */
flag = (sleepflag == HERMON_SLEEP) ? VM_SLEEP : VM_NOSLEEP;
tmpaddr = vmem_alloc(pool_info->rsrc_vmp, 1, flag);
if (tmpaddr == NULL) {
--- 2353,2362 ----