History

include/linux/slub_def.h: comment fixes

Capitialize comment string, use C89 comment style, correct grammar/punctuation in comments.

Tobin C. Harding committed 7 years ago

Commit de810f41 parent 92d1d071 file · +6 −6Browse files

Unified · Split

include/linux/slub_def.h+6−6
@@ -81,12 +81,12 @@ struct kmem_cache_order_objects { · 80 unmodified lines
8181 */
8282 struct kmem_cache {
8383 struct kmem_cache_cpu __percpu *cpu_slab;
84− /* Used for retriving partial slabs etc */
84+ /* Used for retrieving partial slabs, etc. */
8585 slab_flags_t flags;
8686 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 */
9090 #ifdef CONFIG_SLUB_CPU_PARTIAL
9191 /* Number of per cpu partial objects to keep around */
9292 unsigned int cpu_partial;
@@ -110,7 +110,7 @@ struct kmem_cache { · 17 unmodified lines
110110 #endif
111111 #ifdef CONFIG_MEMCG
112112 struct memcg_cache_params memcg_params;
113− /* for propagation, maximum size of a stored attr */
113+ /* For propagation, maximum size of a stored attr */
114114 unsigned int max_attr_size;
115115 #ifdef CONFIG_SYSFS
116116 struct kset *memcg_kset;
@@ -151,7 +151,7 @@ struct kmem_cache { · 34 unmodified lines
151151 #else
152152 #define slub_cpu_partial(s) (0)
153153 #define slub_set_cpu_partial(s, n)
154−#endif // CONFIG_SLUB_CPU_PARTIAL
154+#endif /* CONFIG_SLUB_CPU_PARTIAL */
155155
156156 #ifdef CONFIG_SYSFS
157157 #define SLAB_SUPPORTS_SYSFS

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t