[Devel] [PATCH rh7] cgroups: Drop virtualization code, v2
Cyrill Gorcunov
gorcunov at odin.com
Wed May 6 01:49:06 PDT 2015
On Tue, May 05, 2015 at 07:54:37PM +0300, Cyrill Gorcunov wrote:
> Here we rip off all the virtualization code we introduced into kernel to
> behave close to rhel6.
>
> -static void ve_offline(struct cgroup *cg)
> -{
> - struct ve_struct *ve = cgroup_ve(cg);
> - struct cgroup *cgrp;
> -
> - ve_list_del(ve);
> - veid_free(ve->veid);
> -
> - while (!list_empty(&ve->ve_cgroup_head)) {
> - cgrp = list_entry(ve->ve_cgroup_head.prev,
> - struct cgroup, cgroup_ve_list);
> - cgrp->cgroup_ve = NULL;
> - list_del_init(&cgrp->cgroup_ve_list);
> - cgroup_kernel_destroy(cgrp);
> - }
> -}
> -
This can't be dropped off by whole. I'll send an update. The
rest of patch is intact.
More information about the Devel
mailing list