Linux: disable cgroups

One liner:

# cat /proc/cgroups|grep -v ^#|cut -f 1|xargs -ifoo echo -n foo,
cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,pids,

Add the list to cgroup_disable= kernel parameter in the bootloader configuration.

Is there any legitimate need to disable cgroups?