[PATCH] change gen_pool allocator to not touch managed memory