task/cgroup: Refactor task_cgroup_memory_create
There was some duplicated code in task_cgroup_memory_create. In order to facilitate extending this code in the future, refactor it into a common function memcg_initialize().
Please register or sign in to comment