mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-09-22 22:11:38 +08:00
mm, slub: fix the typo in mm/slub.c
Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
parent
a941f8360f
commit
721ae22ae1
@ -155,7 +155,7 @@ static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s)
|
|||||||
/*
|
/*
|
||||||
* Maximum number of desirable partial slabs.
|
* Maximum number of desirable partial slabs.
|
||||||
* The existence of more partial slabs makes kmem_cache_shrink
|
* The existence of more partial slabs makes kmem_cache_shrink
|
||||||
* sort the partial list by the number of objects in the.
|
* sort the partial list by the number of objects in use.
|
||||||
*/
|
*/
|
||||||
#define MAX_PARTIAL 10
|
#define MAX_PARTIAL 10
|
||||||
|
|
||||||
@ -2849,8 +2849,8 @@ static struct kmem_cache *kmem_cache_node;
|
|||||||
* slab on the node for this slabcache. There are no concurrent accesses
|
* slab on the node for this slabcache. There are no concurrent accesses
|
||||||
* possible.
|
* possible.
|
||||||
*
|
*
|
||||||
* Note that this function only works on the kmalloc_node_cache
|
* Note that this function only works on the kmem_cache_node
|
||||||
* when allocating for the kmalloc_node_cache. This is used for bootstrapping
|
* when allocating for the kmem_cache_node. This is used for bootstrapping
|
||||||
* memory on a fresh node that has no slab structures yet.
|
* memory on a fresh node that has no slab structures yet.
|
||||||
*/
|
*/
|
||||||
static void early_kmem_cache_node_alloc(int node)
|
static void early_kmem_cache_node_alloc(int node)
|
||||||
|
Loading…
Reference in New Issue
Block a user