code: func applyMemoryCgroupInfo(info *SysInfo, cgMounts map[string]string) []string {
  	var warnings []string
  	mountPoint, ok := cgMounts["memory"]
  	if !ok {
  		warnings = append(warnings, "Your kernel does not support cgroup memory limit")
  		return warnings
  	}
  	info.MemoryLimit = ok
  
  	info.SwapLimit = cgroupEnabled(mountPoint, "memory.memsw.limit_in_bytes")
  	if !info.SwapLimit {
  		warnings = append(warnings, "Your kernel does not support swap memory limit")
  	}
  	info.MemoryReservation = cgroupEnabled(mountPoint, "memory.soft_limit_in_bytes")
  	if !info.MemoryReservation {
  		warnings = append(warnings, "Your kernel does not support memory reservation")
  	}
  	info.OomKillDisable = cgroupEnabled(mountPoint, "memory.oom_control")
  	if !info.OomKillDisable {
  		warnings = append(warnings, "Your kernel does not support oom control")
  	}
  	info.MemorySwappiness = cgroupEnabled(mountPoint, "memory.swappiness")
  	if !info.MemorySwappiness {
  		warnings = append(warnings, "Your kernel does not support memory swappiness")
  	}
  	info.KernelMemory = cgroupEnabled(mountPoint, "memory.kmem.limit_in_bytes")
  	if !info.KernelMemory {
  		warnings = append(warnings, "Your kernel does not support kernel memory limit")
  	}
  	info.KernelMemoryTCP = cgroupEnabled(mountPoint, "memory.kmem.tcp.limit_in_bytes")
  	if !info.KernelMemoryTCP {
  		warnings = append(warnings, "Your kernel does not support kernel memory TCP limit")
  	}
  
  	return warnings
  }
docs: // applyMemoryCgroupInfo reads the memory information from the memory cgroup mount point.