code: func applyCPUCgroupInfo(info *SysInfo, cgMounts map[string]string) []string {
  	var warnings []string
  	mountPoint, ok := cgMounts["cpu"]
  	if !ok {
  		warnings = append(warnings, "Unable to find cpu cgroup in mounts")
  		return warnings
  	}
  
  	info.CPUShares = cgroupEnabled(mountPoint, "cpu.shares")
  	if !info.CPUShares {
  		warnings = append(warnings, "Your kernel does not support cgroup cpu shares")
  	}
  
  	info.CPUCfsPeriod = cgroupEnabled(mountPoint, "cpu.cfs_period_us")
  	if !info.CPUCfsPeriod {
  		warnings = append(warnings, "Your kernel does not support cgroup cfs period")
  	}
  
  	info.CPUCfsQuota = cgroupEnabled(mountPoint, "cpu.cfs_quota_us")
  	if !info.CPUCfsQuota {
  		warnings = append(warnings, "Your kernel does not support cgroup cfs quotas")
  	}
  
  	info.CPURealtimePeriod = cgroupEnabled(mountPoint, "cpu.rt_period_us")
  	if !info.CPURealtimePeriod {
  		warnings = append(warnings, "Your kernel does not support cgroup rt period")
  	}
  
  	info.CPURealtimeRuntime = cgroupEnabled(mountPoint, "cpu.rt_runtime_us")
  	if !info.CPURealtimeRuntime {
  		warnings = append(warnings, "Your kernel does not support cgroup rt runtime")
  	}
  
  	return warnings
  }
docs: // applyCPUCgroupInfo reads the cpu information from the cpu cgroup mount point.