Skip to content

Commit

Permalink
mm/slab.c: update outdated kmem_list3 in a comment
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Pekka Enberg <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
yangx-jy authored and torvalds committed Aug 7, 2020
1 parent 4440509 commit 221503e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slab.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ int slab_prepare_cpu(unsigned int cpu)
* offline.
*
* Even if all the cpus of a node are down, we don't free the
* kmem_list3 of any cache. This to avoid a race between cpu_down, and
* kmem_cache_node of any cache. This to avoid a race between cpu_down, and
* a kmalloc allocation from another cpu for memory from the node of
* the cpu going down. The list3 structure is usually allocated from
* kmem_cache_create() and gets destroyed at kmem_cache_destroy().
Expand Down

0 comments on commit 221503e

Please sign in to comment.