Make sure to obey KM_NOSLEEP in kmem_alloc.