We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3364778 commit 23587f7Copy full SHA for 23587f7
include/linux/slub_def.h
@@ -105,7 +105,6 @@ struct kmem_cache {
105
struct kmem_cache_order_objects oo;
106
107
/* Allocation and freeing of slabs */
108
- struct kmem_cache_order_objects max;
109
struct kmem_cache_order_objects min;
110
gfp_t allocflags; /* gfp flags to use on each alloc */
111
int refcount; /* Refcount for slab cache destroy */
mm/slub.c
@@ -4165,8 +4165,6 @@ static int calculate_sizes(struct kmem_cache *s)
4165
*/
4166
s->oo = oo_make(order, size);
4167
s->min = oo_make(get_order(size), size);
4168
- if (oo_objects(s->oo) > oo_objects(s->max))
4169
- s->max = s->oo;
4170
4171
return !!oo_objects(s->oo);
4172
}
0 commit comments