Skip to content

Commit 221503e

Browse files
yangx-jytorvalds
authored andcommitted
mm/slab.c: update outdated kmem_list3 in a comment
kmem_list3 has been renamed to kmem_cache_node long long ago so update it. References: 6744f08 ("slab: Common name for the per node structures") ce8eb6c ("slab: Rename list3/l3 to node") Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Pekka Enberg <penberg@kernel.org> Cc: Christoph Lameter <cl@linux.com> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Link: http://lkml.kernel.org/r/20200722033355.26908-1-yangx.jy@cn.fujitsu.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 4440509 commit 221503e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mm/slab.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ int slab_prepare_cpu(unsigned int cpu)
10601060
* offline.
10611061
*
10621062
* Even if all the cpus of a node are down, we don't free the
1063-
* kmem_list3 of any cache. This to avoid a race between cpu_down, and
1063+
* kmem_cache_node of any cache. This to avoid a race between cpu_down, and
10641064
* a kmalloc allocation from another cpu for memory from the node of
10651065
* the cpu going down. The list3 structure is usually allocated from
10661066
* kmem_cache_create() and gets destroyed at kmem_cache_destroy().

0 commit comments

Comments
 (0)