/* Create a memory pool. Allocates freelist, bitmaps and other per-pool metadata.  */
struct xv_pool* xv_create_pool(void)
/* Create a memory pool. Allocates freelist, bitmaps and other per-pool metadata.  */
struct xv_pool* xv_create_pool(void)
{
	u32 ovhd_size;
	struct xv_pool *pool;
	ovhd_size = roundup(sizeof(*pool), PAGE_SIZE);
	pool = kzalloc(ovhd_size, GFP_KERNEL);
	if (!pool)
		return NULL;
	spin_lock_init(&pool->lock);
	return pool;
}