mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
mm, slab: fix the comment of cpu partial list
The partial slabs on cpu partial list are not frozen after the commit
8cd3fa428b
("slub: Delay freezing of partial slabs") merged. So fix
the comment.
Signed-off-by: Chengming Zhou <chengming.zhou@linux.dev>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
This commit is contained in:
parent
303cd69394
commit
c94d222445
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ struct kmem_cache_cpu {
|
||||||
};
|
};
|
||||||
struct slab *slab; /* The slab from which we are allocating */
|
struct slab *slab; /* The slab from which we are allocating */
|
||||||
#ifdef CONFIG_SLUB_CPU_PARTIAL
|
#ifdef CONFIG_SLUB_CPU_PARTIAL
|
||||||
struct slab *partial; /* Partially allocated frozen slabs */
|
struct slab *partial; /* Partially allocated slabs */
|
||||||
#endif
|
#endif
|
||||||
local_lock_t lock; /* Protects the fields above */
|
local_lock_t lock; /* Protects the fields above */
|
||||||
#ifdef CONFIG_SLUB_STATS
|
#ifdef CONFIG_SLUB_STATS
|
||||||
|
|
Loading…
Reference in a new issue