Capitialize comment string, use C89 comment style, correct grammar/punctuation in comments.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -81,12 +81,12 @@ struct kmem_cache_order_objects { · 80 unmodified lines | |||
| 81 | */ | 81 | */ |
| 82 | struct kmem_cache { | 82 | struct kmem_cache { |
| 83 | struct kmem_cache_cpu __percpu *cpu_slab; | 83 | struct kmem_cache_cpu __percpu *cpu_slab; |
| 84 | /* Used for retriving partial slabs etc */ | 84 | /* Used for retrieving partial slabs, etc. */ |
| 85 | slab_flags_t flags; | 85 | slab_flags_t flags; |
| 86 | unsigned long min_partial; | 86 | unsigned long min_partial; |
| 87 | unsigned int size; /* The size of an object including meta data */ | 87 | unsigned int size; /* The size of an object including metadata */ |
| 88 | unsigned int object_size;/* The size of an object without meta data */ | 88 | unsigned int object_size;/* The size of an object without metadata */ |
| 89 | unsigned int offset; /* Free pointer offset. */ | 89 | unsigned int offset; /* Free pointer offset */ |
| 90 | #ifdef CONFIG_SLUB_CPU_PARTIAL | 90 | #ifdef CONFIG_SLUB_CPU_PARTIAL |
| 91 | /* Number of per cpu partial objects to keep around */ | 91 | /* Number of per cpu partial objects to keep around */ |
| 92 | unsigned int cpu_partial; | 92 | unsigned int cpu_partial; |
| @@ -110,7 +110,7 @@ struct kmem_cache { · 17 unmodified lines | |||
| 110 | #endif | 110 | #endif |
| 111 | #ifdef CONFIG_MEMCG | 111 | #ifdef CONFIG_MEMCG |
| 112 | struct memcg_cache_params memcg_params; | 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 | unsigned int max_attr_size; | 114 | unsigned int max_attr_size; |
| 115 | #ifdef CONFIG_SYSFS | 115 | #ifdef CONFIG_SYSFS |
| 116 | struct kset *memcg_kset; | 116 | struct kset *memcg_kset; |
| @@ -151,7 +151,7 @@ struct kmem_cache { · 34 unmodified lines | |||
| 151 | #else | 151 | #else |
| 152 | #define slub_cpu_partial(s) (0) | 152 | #define slub_cpu_partial(s) (0) |
| 153 | #define slub_set_cpu_partial(s, n) | 153 | #define slub_set_cpu_partial(s, n) |
| 154 | #endif // CONFIG_SLUB_CPU_PARTIAL | 154 | #endif /* CONFIG_SLUB_CPU_PARTIAL */ |
| 155 | 155 | ||
| 156 | #ifdef CONFIG_SYSFS | 156 | #ifdef CONFIG_SYSFS |
| 157 | #define SLAB_SUPPORTS_SYSFS | 157 | #define SLAB_SUPPORTS_SYSFS |