Print this page
XXXX kmem: fix comment typo
*** 3169,3181 ****
atomic_cas_32(flag, 0, 1) != 0)
return;
/*
* It may not be kosher to do memory allocation when a reap is called
! * is called (for example, if vmem_populate() is in the call chain).
! * So we start the reap going with a TQ_NOALLOC dispatch. If the
! * dispatch fails, we reset the flag, and the next reap will try again.
*/
if (!taskq_dispatch(kmem_taskq, kmem_reap_start, flag, TQ_NOALLOC))
*flag = 0;
}
--- 3169,3181 ----
atomic_cas_32(flag, 0, 1) != 0)
return;
/*
* It may not be kosher to do memory allocation when a reap is called
! * (for example, if vmem_populate() is in the call chain). So we
! * start the reap going with a TQ_NOALLOC dispatch. If the dispatch
! * fails, we reset the flag, and the next reap will try again.
*/
if (!taskq_dispatch(kmem_taskq, kmem_reap_start, flag, TQ_NOALLOC))
*flag = 0;
}