diff options
-rw-r--r-- | include/linux/slub_def.h | 2 | ||||
-rw-r--r-- | mm/slub.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index 4890ef79d752..a32bcfdc7834 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h | |||
@@ -82,7 +82,7 @@ struct kmem_cache { | |||
82 | int size; /* The size of an object including meta data */ | 82 | int size; /* The size of an object including meta data */ |
83 | int objsize; /* The size of an object without meta data */ | 83 | int objsize; /* The size of an object without meta data */ |
84 | int offset; /* Free pointer offset. */ | 84 | int offset; /* Free pointer offset. */ |
85 | int cpu_partial; /* Number of per cpu partial pages to keep around */ | 85 | int cpu_partial; /* Number of per cpu partial objects to keep around */ |
86 | struct kmem_cache_order_objects oo; | 86 | struct kmem_cache_order_objects oo; |
87 | 87 | ||
88 | /* Allocation and freeing of slabs */ | 88 | /* Allocation and freeing of slabs */ |
@@ -3084,7 +3084,7 @@ static int kmem_cache_open(struct kmem_cache *s, | |||
3084 | * | 3084 | * |
3085 | * A) The number of objects from per cpu partial slabs dumped to the | 3085 | * A) The number of objects from per cpu partial slabs dumped to the |
3086 | * per node list when we reach the limit. | 3086 | * per node list when we reach the limit. |
3087 | * B) The number of objects in partial partial slabs to extract from the | 3087 | * B) The number of objects in cpu partial slabs to extract from the |
3088 | * per node list when we run out of per cpu objects. We only fetch 50% | 3088 | * per node list when we run out of per cpu objects. We only fetch 50% |
3089 | * to keep some capacity around for frees. | 3089 | * to keep some capacity around for frees. |
3090 | */ | 3090 | */ |