@@ -81,12 +81,12 @@ struct kmem_cache_order_objects {
81
81
*/
82
82
struct kmem_cache {
83
83
struct kmem_cache_cpu __percpu * cpu_slab ;
84
- /* Used for retriving partial slabs etc */
84
+ /* Used for retrieving partial slabs, etc. */
85
85
slab_flags_t flags ;
86
86
unsigned long min_partial ;
87
- unsigned int size ; /* The size of an object including meta data */
88
- unsigned int object_size ;/* The size of an object without meta data */
89
- unsigned int offset ; /* Free pointer offset. */
87
+ unsigned int size ; /* The size of an object including metadata */
88
+ unsigned int object_size ;/* The size of an object without metadata */
89
+ unsigned int offset ; /* Free pointer offset */
90
90
#ifdef CONFIG_SLUB_CPU_PARTIAL
91
91
/* Number of per cpu partial objects to keep around */
92
92
unsigned int cpu_partial ;
@@ -110,7 +110,7 @@ struct kmem_cache {
110
110
#endif
111
111
#ifdef CONFIG_MEMCG
112
112
struct memcg_cache_params memcg_params ;
113
- /* for propagation, maximum size of a stored attr */
113
+ /* For propagation, maximum size of a stored attr */
114
114
unsigned int max_attr_size ;
115
115
#ifdef CONFIG_SYSFS
116
116
struct kset * memcg_kset ;
@@ -151,7 +151,7 @@ struct kmem_cache {
151
151
#else
152
152
#define slub_cpu_partial (s ) (0)
153
153
#define slub_set_cpu_partial (s , n )
154
- #endif // CONFIG_SLUB_CPU_PARTIAL
154
+ #endif /* CONFIG_SLUB_CPU_PARTIAL */
155
155
156
156
#ifdef CONFIG_SYSFS
157
157
#define SLAB_SUPPORTS_SYSFS
0 commit comments