code: func updateSystemdCgroupInfo(cgroupConfig *libcontainerconfigs.Cgroup, cgroupName CgroupName) {
  	dir, base := path.Split(cgroupName.ToSystemd())
  	if dir == "/" {
  		dir = "-.slice"
  	} else {
  		dir = path.Base(dir)
  	}
  	cgroupConfig.Parent = dir
  	cgroupConfig.Name = base
  }
docs: // TODO(filbranden): This logic belongs in libcontainer/cgroup/systemd instead.
  // It should take a libcontainerconfigs.Cgroup.Path field (rather than Name and Parent)
  // and split it appropriately, using essentially the logic below.
  // This was done for cgroupfs in opencontainers/runc#497 but a counterpart
  // for systemd was never introduced.