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

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/slub_def.h+6−6
@@ -81,12 +81,12 @@ struct kmem_cache_order_objects { · 80 unmodified lines
81 */81 */
82struct kmem_cache {82struct 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_PARTIAL90#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#endif110#endif
111#ifdef CONFIG_MEMCG111#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_SYSFS115#ifdef CONFIG_SYSFS
116 struct kset *memcg_kset;116 struct kset *memcg_kset;
@@ -151,7 +151,7 @@ struct kmem_cache { · 34 unmodified lines
151#else151#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_PARTIAL154#endif /* CONFIG_SLUB_CPU_PARTIAL */
155 155
156#ifdef CONFIG_SYSFS156#ifdef CONFIG_SYSFS
157#define SLAB_SUPPORTS_SYSFS157#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