/* Called on a new task very soon before adding it to the tasklist. No need to take any locks since no-one can be operating on this task.  */
void cgroup_fork_callbacks(struct task_struct *child)
/* Called on a new task very soon before adding it to the tasklist. No need to take any locks since no-one can be operating on this task.  */
void cgroup_fork_callbacks(struct task_struct *child)
{
	if (need_forkexit_callback) {
		int i;
		for (i = 0; i < CGROUP_SUBSYS_COUNT; i++) {
			struct cgroup_subsys *ss = subsys[i];
			if (ss->fork)
				ss->fork(ss, child);
		}
	}
}