/* * vmem_alloc: allocate resource from the arena. */