mm, slab: fix the comment of cpu partial list
authorChengming Zhou <chengming.zhou@linux.dev>
Wed, 21 Feb 2024 12:12:54 +0000 (12:12 +0000)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 21 Feb 2024 15:20:53 +0000 (16:20 +0100)
The partial slabs on cpu partial list are not frozen after the commit
8cd3fa428b56 ("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>
mm/slub.c

index d8d8dd8e980321d89e4fc3b18d3a0980245aecb7..e28929e6e25264bf26c392f9303752e300eb6424 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -391,7 +391,7 @@ struct kmem_cache_cpu {
        };
        struct slab *slab;      /* The slab from which we are allocating */
 #ifdef CONFIG_SLUB_CPU_PARTIAL
-       struct slab *partial;   /* Partially allocated frozen slabs */
+       struct slab *partial;   /* Partially allocated slabs */
 #endif
        local_lock_t lock;      /* Protects the fields above */
 #ifdef CONFIG_SLUB_STATS