Print this page
XXXX introduce drv_sectohz
*** 2438,2449 ****
* Since we're skipping logging, we'll need
* to schedule the re-enabling of CEEN
*/
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)aflt->flt_inst,
! drv_usectohz((clock_t)cpu_ceen_delay_secs
! * MICROSEC));
}
/*
* Inform memscrubber - scrubbing induced
* CE on a retired page.
--- 2438,2448 ----
* Since we're skipping logging, we'll need
* to schedule the re-enabling of CEEN
*/
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)aflt->flt_inst,
! drv_sectohz((clock_t)cpu_ceen_delay_secs));
}
/*
* Inform memscrubber - scrubbing induced
* CE on a retired page.
*** 2666,2676 ****
* of a CE storm.
*/
if (ch_flt->flt_trapped_ce & CE_CEEN_DEFER) {
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)aflt->flt_inst,
! drv_usectohz((clock_t)cpu_ceen_delay_secs * MICROSEC));
}
}
/*
* Invoked by error_init() early in startup and therefore before
--- 2665,2675 ----
* of a CE storm.
*/
if (ch_flt->flt_trapped_ce & CE_CEEN_DEFER) {
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)aflt->flt_inst,
! drv_sectohz((clock_t)cpu_ceen_delay_secs));
}
}
/*
* Invoked by error_init() early in startup and therefore before
*** 6070,6080 ****
cpu_delayed_check_ce_errors(void *arg)
{
if (!taskq_dispatch(ch_check_ce_tq, cpu_check_ce_errors, arg,
TQ_NOSLEEP)) {
(void) timeout(cpu_delayed_check_ce_errors, arg,
! drv_usectohz((clock_t)cpu_ceen_delay_secs * MICROSEC));
}
}
/*
* CE Deferred Re-enable after trap.
--- 6069,6079 ----
cpu_delayed_check_ce_errors(void *arg)
{
if (!taskq_dispatch(ch_check_ce_tq, cpu_check_ce_errors, arg,
TQ_NOSLEEP)) {
(void) timeout(cpu_delayed_check_ce_errors, arg,
! drv_sectohz((clock_t)cpu_ceen_delay_secs));
}
}
/*
* CE Deferred Re-enable after trap.
*** 6159,6169 ****
* cpu_ceen_delay_secs.
*/
mutex_exit(&cpu_lock);
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)cp->cpu_id,
! drv_usectohz((clock_t)cpu_ceen_delay_secs * MICROSEC));
}
}
/*
* This routine will check whether CEs have occurred while
--- 6158,6168 ----
* cpu_ceen_delay_secs.
*/
mutex_exit(&cpu_lock);
(void) timeout(cpu_delayed_check_ce_errors,
(void *)(uintptr_t)cp->cpu_id,
! drv_sectohz((clock_t)cpu_ceen_delay_secs));
}
}
/*
* This routine will check whether CEs have occurred while