diff options
Diffstat (limited to 'include/linux/cgroup-defs.h')
| -rw-r--r-- | include/linux/cgroup-defs.h | 19 | 
1 files changed, 3 insertions, 16 deletions
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index 430e219e3aba..63097cb243cb 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h @@ -355,16 +355,6 @@ struct cgroup {  	unsigned long flags;		/* "unsigned long" so bitops work */  	/* -	 * idr allocated in-hierarchy ID. -	 * -	 * ID 0 is not used, the ID of the root cgroup is always 1, and a -	 * new cgroup will be assigned with a smallest available ID. -	 * -	 * Allocating/Removing ID must be protected by cgroup_mutex. -	 */ -	int id; - -	/*  	 * The depth this cgroup is at.  The root is at depth zero and each  	 * step down the hierarchy increments the level.  This along with  	 * ancestor_ids[] can determine whether a given cgroup is a @@ -458,7 +448,7 @@ struct cgroup {  	struct list_head rstat_css_list;  	/* cgroup basic resource statistics */ -	struct cgroup_base_stat pending_bstat;	/* pending from children */ +	struct cgroup_base_stat last_bstat;  	struct cgroup_base_stat bstat;  	struct prev_cputime prev_cputime;	/* for printing out cputime */ @@ -488,7 +478,7 @@ struct cgroup {  	struct cgroup_freezer_state freezer;  	/* ids of the ancestors at each level including self */ -	int ancestor_ids[]; +	u64 ancestor_ids[];  };  /* @@ -509,7 +499,7 @@ struct cgroup_root {  	struct cgroup cgrp;  	/* for cgrp->ancestor_ids[0] */ -	int cgrp_ancestor_id_storage; +	u64 cgrp_ancestor_id_storage;  	/* Number of cgroups in the hierarchy, used only for /proc/cgroups */  	atomic_t nr_cgrps; @@ -520,9 +510,6 @@ struct cgroup_root {  	/* Hierarchy-specific flags */  	unsigned int flags; -	/* IDs for cgroups in this hierarchy */ -	struct idr cgroup_idr; -  	/* The path to use for release notifications. */  	char release_agent_path[PATH_MAX];  |