Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/subr_trap.c
Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | #endif | ||||
KASSERT(td->td_pinned == 0 || (td->td_pflags & TDP_CALLCHAIN) != 0, | KASSERT(td->td_pinned == 0 || (td->td_pflags & TDP_CALLCHAIN) != 0, | ||||
("userret: Returning with with pinned thread")); | ("userret: Returning with with pinned thread")); | ||||
KASSERT(td->td_vp_reserv == 0, | KASSERT(td->td_vp_reserv == 0, | ||||
("userret: Returning while holding vnode reservation")); | ("userret: Returning while holding vnode reservation")); | ||||
KASSERT((td->td_flags & (TDF_SBDRY | TDF_SEINTR | TDF_SERESTART)) == 0, | KASSERT((td->td_flags & (TDF_SBDRY | TDF_SEINTR | TDF_SERESTART)) == 0, | ||||
("userret: Returning with stop signals deferred")); | ("userret: Returning with stop signals deferred")); | ||||
KASSERT(td->td_su == NULL, | KASSERT(td->td_su == NULL, | ||||
("userret: Returning with SU cleanup request not handled")); | ("userret: Returning with SU cleanup request not handled")); | ||||
KASSERT(td->td_vslock_sz == 0, | |||||
("userret: Returning with vslock-wired space")); | |||||
#ifdef VIMAGE | #ifdef VIMAGE | ||||
/* Unfortunately td_vnet_lpush needs VNET_DEBUG. */ | /* Unfortunately td_vnet_lpush needs VNET_DEBUG. */ | ||||
VNET_ASSERT(curvnet == NULL, | VNET_ASSERT(curvnet == NULL, | ||||
("%s: Returning on td %p (pid %d, %s) with vnet %p set in %s", | ("%s: Returning on td %p (pid %d, %s) with vnet %p set in %s", | ||||
__func__, td, p->p_pid, td->td_name, curvnet, | __func__, td, p->p_pid, td->td_name, curvnet, | ||||
(td->td_vnet_lpush != NULL) ? td->td_vnet_lpush : "N/A")); | (td->td_vnet_lpush != NULL) ? td->td_vnet_lpush : "N/A")); | ||||
#endif | #endif | ||||
#ifdef RACCT | #ifdef RACCT | ||||
▲ Show 20 Lines • Show All 161 Lines • Show Last 20 Lines |